Commit graph

111 commits

Author SHA1 Message Date
Kris Maglione
a7bce21ae1 Bug 1473933: Part 2 - Remove more unused code. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6868

--HG--
extra : rebase_source : c9fafd72e73eee35d87ecc4b462826d22d44fad3
2018-09-25 18:06:28 -07:00
Luca Greco
e834e90cb2 Bug 1433335 - Send telemetry events for each AddonManager action on an extension. r=aswan
- Added definitions for the new telemetry events
- Send telemetry events for each AddonManager action on an extension.
- Ensure that telemetry events are sent also for the extension prompts.

Differential Revision: https://phabricator.services.mozilla.com/D4448

--HG--
extra : moz-landing-system : lando
2018-09-19 16:43:11 +00:00
Mark Banner
691543ee89 Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
Automatic changes by ESLint, except for manual corrections for .xml files.

Differential Revision: https://phabricator.services.mozilla.com/D4439

--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Brian Grinstead
abf1620630 Bug 1479125 - Migrate calls that expect an element to be returned to use element variation firstChild etc to firstElementChild etc;r=Paolo
This allows the JS to work in HTML documents, where whitespace is preserved. In XUL
documents, whitespace is ignored when parsing so text nodes are generally not returned.

The following changes were made, with manual cleanups as necessary (i.e. when firstChild actually
refers to a text node, or when firstChild is used in a loop to empty out an element):

  firstChild->firstElementChild
  lastChild->lastElementChild
  nextSibling->nextElementSibling
  previousSibling->previousElementSibling
  childNodes->children

MozReview-Commit-ID: 95NQ8syBhYw

--HG--
extra : rebase_source : 186d805f7a2a56694dda9032aceac2dfe5424753
2018-08-08 15:22:53 -07:00
Dave Townsend
389a969138 Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489

--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Jared Wein
47e3fce893 Bug 1451076 - Extension update message should have full text in the tooltip in case it gets truncated. r=Gijs
MozReview-Commit-ID: L2ySkqjkY1P

--HG--
extra : rebase_source : 09d2d24ccfae82448bc6e3c55665866b100f8827
2018-04-05 13:10:31 -04:00
Gijs Kruitbosch
fd9a2235dc Bug 1449548, r=mconley,aswan
--HG--
extra : rebase_source : da4499ca81e6cfea7fa7185fcc84b7f072368bc8
2018-03-28 13:48:09 +01:00
Kris Maglione
1517368b77 Bug 1447831: Part 2 - Remove support for restart-required install prompts. r=aswan
MozReview-Commit-ID: JMIiF54Cikm

--HG--
extra : rebase_source : 9abbba8318196124ffab644a7e128e139df9881a
2018-03-21 15:19:49 -07:00
Paolo Amadini
5c26735c6e Bug 1438815 - The main menu stays open after the install of a sideloaded add-on. r=Gijs
MozReview-Commit-ID: K1Y4JkkQ68c

--HG--
extra : rebase_source : 9b602894327f0d428dfded6460568d6e2626c6c3
2018-03-05 15:33:14 +00:00
Florian Quèze
c714053d73 Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
Prathiksha
b28f3f4deb Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p

--HG--
extra : rebase_source : deb657d44fb1306a49d2c38cc3632928b49ab6e8
2018-01-19 23:34:25 +05:30
Florian Quèze
2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Kris Maglione
918ed6c474 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178 Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
Backed out changeset a1eca62826a1 (bug 1431533)
Backed out changeset 34c999fa006b (bug 1431533)
Backed out changeset e2674287e57f (bug 1431533)
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Florian Quèze
1158645bdd Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Francesco Lodolo (:flod)
8512de2ea7 Bug 658191 - Fix plural form in Add-on installation messages r=aswan
addonsInstalled and addonsInstalledNeedsRestart currently abuse
plural forms, using the singular form to expose the name of the add-on.

While the first form is singular for English, it's used for other numbers
in other languages, and in others there's only one form available,
making these strings impossible to translate.

MozReview-Commit-ID: 6hVJnaqTGtc

--HG--
extra : rebase_source : b9f616eb816e364008d5ce3419ec521c5acbb979
2017-12-05 15:14:22 +01:00
Mark Banner
f99ae4c2a9 Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2

--HG--
extra : rebase_source : f71e053e18017d675d4ea4d758e2552adcf5adc6
2017-11-28 19:21:33 +00:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Castelluccio
1ac9951d82 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs
--HG--
extra : rebase_source : 838f891fc0d6a53a82f06f6b9c4261ae89c79cc3
2017-07-31 12:51:35 +02:00
Florian Quèze
71d8831567 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Doug Thayer
26f8bae28d Bug 1359733 - (pt. 3) Pull out browser-addons.js badges r=aswan
We are moving app menu doorhangers and badges out from window-
specific code into a jsm, in order to simplify the work that
the new app udpate UI has to do. Since browser-addons.js also
consumes the badge system, this ensures that it also uses the
jsm store.

MozReview-Commit-ID: Fb5Fsja0RcA

--HG--
extra : rebase_source : c979e361aba54692f89e79317e4958b65c8b4722
2017-05-15 10:38:33 -07:00
Gijs Kruitbosch
cf021da921 Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S

--HG--
extra : rebase_source : c6bad5785235738161637e9f080faefd4ce2db04
2017-05-03 14:53:07 +01:00
Andrew Swan
cceb97c342 Bug 1344214 Update button in addon install doorhanger r=flod
MozReview-Commit-ID: 7bpbpNUfi5h

--HG--
extra : rebase_source : df01c69be1a7f0ff621445de244dda871f2b9890
2017-04-12 15:43:34 -07:00
Mike de Boer
0154e989a3 Bug 1350053 - Part 1 - Change install flow of Light-weight Themes (LWT) to use PopupNotifications, instead of notification boxes. r=mossop
The newer Theming API follows the WebExtension install flow, which uses
PopupNotifications to request permission before installation, show progress and
notify upon install completion. This patch makes sure that older LWTs follow that
same flow.

MozReview-Commit-ID: C7X2si0a47J

--HG--
extra : rebase_source : 76f6283818dd69f62c4d59b6b11c5e90d37145a2
2017-04-10 16:16:50 +02:00
Doug Thayer
f463069928 Bug 893505 - Simplify the application update UI r=chmanchester,enndeakin+6102,Gijs,rstrong
There's quite a few changes in here. At a high level, all we're trying to do
is to replace the old update popup with a less intrusive and more modern
doorhanger (set of doorhangers) for various update failure conditions.

MozReview-Commit-ID: 24sESMTosNX

--HG--
extra : rebase_source : ee0c1e00fe3f99e16388f0de17274ff97a3b9fcf
2017-03-21 13:50:09 -07:00
Mark Banner
1087fc1884 Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR

--HG--
extra : rebase_source : 482bdc039362347f35aec9fd15e07a143dccb860
2017-02-22 17:02:59 +00:00
Andrew Swan
63fd68e367 Bug 1256221 Remove close button from addon install popup r=florian
MozReview-Commit-ID: IbxVJFvBWSv

--HG--
extra : rebase_source : 000b87c0f8ebba5c9cfd4a1d86935eccab9998b6
2016-12-01 11:53:03 -08:00
Jared Wein
dcc9efeeac Bug 864562 - Fix the tests and move more logic from JS to CSS now that the values exist as CSS Variables. r=mikedeboer
MozReview-Commit-ID: BuJdjtVBnin

--HG--
extra : rebase_source : 47d244f3fa2e4f8768ce803201f238f456b22ecb
2017-02-28 12:15:04 -05:00
Jared Wein
160d3b90a1 Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14

--HG--
extra : rebase_source : 3c42715d64f0b88dcf3a7fd2cad1f97358c3ea0d
2017-02-22 14:13:09 -05:00
Jared Wein
664c4630f6 Bug 864562 - Declare lwtheme CSS in tabs.inc.css since we don't need to iterate rules anymore. r=MattN
MozReview-Commit-ID: 4N48zKJUVWs

--HG--
extra : rebase_source : f2cedef2246b9005d8f7e93d25f0d83c071dc8ca
2017-02-21 11:42:29 -05:00
Jared Wein
6dd9663f90 Bug 864562 - Use CSS variables for lightweight theme styling. r=MattN
Original patch written by Raj Meghpara <meghpararajkumar@gmail.com>

MozReview-Commit-ID: 8z6tmUG0gdN

--HG--
extra : rebase_source : 34b53c7e111a6cd88e625de521f085876036a846
2017-02-21 11:33:21 -05:00
Sebastian Hengst
d77705e998 Backed out changeset 2dc596ad4240 (bug 864562) for failing browser_ext_themes_chromeparity.js. r=backout on a CLOSED TREE 2017-02-23 19:34:12 +01:00
Sebastian Hengst
4c629f3fdc Backed out changeset 2308f6c6fddf (bug 864562) 2017-02-23 19:33:37 +01:00
Sebastian Hengst
98bf68c3a3 Backed out changeset a99f7690feea (bug 864562) 2017-02-23 19:33:31 +01:00
Jared Wein
d4b439fe74 Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14

--HG--
extra : rebase_source : 39e776516c87dbe3243787023cb369df71c7d3d2
2017-02-22 14:13:09 -05:00
Jared Wein
4aa25796e4 Bug 864562 - Declare lwtheme CSS in tabs.inc.css since we don't need to iterate rules anymore. r=MattN
MozReview-Commit-ID: 4N48zKJUVWs

--HG--
extra : rebase_source : 15198938eeca602c4ea4a9f60afb85d4842064aa
2017-02-21 11:42:29 -05:00
Jared Wein
29dd67b0f0 Bug 864562 - Use CSS variables for lightweight theme styling. r=MattN
Original patch written by Raj Meghpara <meghpararajkumar@gmail.com>

MozReview-Commit-ID: 8z6tmUG0gdN

--HG--
extra : rebase_source : 55ed5125ce7ed3de660490a91ab23885eaf49351
2017-02-21 11:33:21 -05:00
Andrew Swan
94c98baac1 Bug 1316996 Text for webextensions permissions r=florian
MozReview-Commit-ID: 3W7zEemDOTa

--HG--
extra : rebase_source : e6dd9ab946ab365b3633b9df5158da5a5cd58d38
2017-01-20 08:49:59 -08:00
Andrew Swan
db65053d39 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE

--HG--
extra : rebase_source : 0cd199712783accfc237d638336b6c70a06e9810
2017-01-19 19:28:08 -08:00
Wes Kocher
438acaa485 Backed out changeset 79d111e76fc9 (bug 1317470) for xpcshell failures a=backout
MozReview-Commit-ID: ATEluhMBccR
2017-01-19 18:14:55 -08:00
Andrew Swan
cafe95ca01 Bug 1317470 Show permission prompts for background webextension updates r=florian
MozReview-Commit-ID: I55ePPFPuuE

--HG--
extra : rebase_source : a0b6aef83b3c315be7088e990c12181a5d022b8d
2017-01-19 14:17:53 -08:00
Johann Hofmann
4c445dcf50 Bug 1331918 - Make addon install failure messages non-persistent. r=past
MozReview-Commit-ID: BO00gCCzT7f

--HG--
extra : rebase_source : b20327867e8cf87051d07e0d5a39d189899f06c5
2017-01-19 10:15:05 +01:00
Andrew Swan
2e63037fde Bug 1317363 Implement the new sideloading flow r=florian,rhelmer
MozReview-Commit-ID: JgloWKYAhlK

--HG--
extra : rebase_source : 732c178b13c231b36dea0c8c9f0871c7486e18c3
2017-01-18 18:16:19 -08:00
Florian Quèze
85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Andrew Swan
c6e46bcd64 Bug 1323129 part 2: remove amIWebInstaller r=rhelmer
MozReview-Commit-ID: O0jtQi9BzQ

--HG--
rename : toolkit/mozapps/extensions/amIWebInstallListener.idl => toolkit/mozapps/extensions/amIWebInstallPrompt.idl
extra : rebase_source : 7d1981f282b5e2c34b8b720c0a96e2cc8b71a86f
extra : source : 8a61b376d87f52d1bd660af41bdc6bdb5d5e44ae
2017-01-04 10:13:16 -08:00
Sebastian Hengst
fb87db0768 Bug 1321947 - Add "Don't Allow" button to add-on installation permission doorhanger to make it dismissible. r=florian
MozReview-Commit-ID: FwRmLOMA1Zr

--HG--
extra : rebase_source : 761363ce4eb203fde9e30a2f4ee60ccbdb3da14f
2016-12-04 18:29:14 +01:00
Jared Wein
9141469edf Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe

--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00