William Durand
b90b5b3778
Bug 1489430 - Add "Remove Extension" context menu item for pageAction. r=robwu,mstriemer,fluent-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D69831
--HG--
extra : moz-landing-system : lando
2020-04-08 14:18:53 +00:00
Michael Kaply
14bc4dc4ab
Bug 1607937 - If an origin is blocked, show the custom policy message if it is there. r=mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D59931
--HG--
extra : moz-landing-system : lando
2020-01-14 22:54:10 +00:00
Johann Hofmann
ff1911cf74
Bug 1580319 - Clear PopupNotifications UI state when no checkbox is present. r=prathiksha
...
In getUserMedia we didn't use to have prompts without a checkbox, thus this bug couldn't manifest.
Now we do hide the checkbox for iframes, so this code path is triggered and doesn't properly
reset the UI state between prompts.
Differential Revision: https://phabricator.services.mozilla.com/D45911
--HG--
extra : moz-landing-system : lando
2019-09-16 09:44:07 +00:00
monikamaheshwari
9d60e0d578
Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D45629
--HG--
extra : moz-landing-system : lando
2019-09-14 09:39:26 +00:00
Paul Zuehlcke
c4e3669f0f
Bug 1558439 - Log warning to web console when add-on installation was blocked due to fullscreen. r=johannh,mixedpuppy
...
Differential Revision: https://phabricator.services.mozilla.com/D44161
--HG--
extra : moz-landing-system : lando
2019-08-30 16:34:08 +00:00
Paul Zuehlcke
f230f7f918
Bug 1574105 - Updated browser-addons.js SitePermissions call to use principal. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D42318
--HG--
extra : moz-landing-system : lando
2019-08-20 12:13:32 +00:00
Paul Zuehlcke
39687fe7bb
Bug 1522120 - Remove permission prompts when entering full-screen and leave full-screen when a permission prompt is shown. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D36932
--HG--
extra : moz-landing-system : lando
2019-07-24 16:17:54 +00:00
Victor Porof
f9f5914039
Bug 1561435 - Format browser/base/, a=automatic-formatting
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D36041
--HG--
extra : source : 96b3895a3b2aa2fcb064c85ec5857b7216884556
2019-07-05 09:48:57 +02:00
Paul Zuehlcke
5cb073f8e1
Bug 1555405 - Updated PopupNotifications.remove to accept array or single Notification object. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D34500
--HG--
extra : moz-landing-system : lando
2019-06-13 14:40:07 +00:00
Paul Zuehlcke
225d93a362
Bug 1372033 - Added option to permanently disallow addon installation for a website. r=johannh,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D28867
--HG--
extra : moz-landing-system : lando
2019-05-16 10:20:07 +00:00
Michael Kaply
a98b93897c
Bug 1522823 - Policy for whitelist/blacklist addons by ID. r=aswan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D27902
--HG--
extra : moz-landing-system : lando
2019-05-15 01:22:39 +00:00
Paul Zuehlcke
e9c7644627
Bug 1550647 - Updated test to check for addon-install-blocked events, improved AddonManger fullscreen block. r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D30955
--HG--
extra : moz-landing-system : lando
2019-05-14 07:53:05 +00:00
Paul Zuehlcke
15881e3dff
Bug 1412561 - Block addon installation prompts in fullscreen mode. r=johannh,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D27734
--HG--
extra : moz-landing-system : lando
2019-05-03 21:44:24 +00:00
Shane Caraveo
174c8d6c4d
Bug 1544489 use separate strings to localize install prompt for unknown sites. r=flod,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D27606
--HG--
extra : moz-landing-system : lando
2019-04-29 19:00:55 +00:00
Shane Caraveo
a401892884
Bug 628041 refresh the install blocked panel text r=flod,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D25881
--HG--
extra : moz-landing-system : lando
2019-04-11 18:56:47 +00:00
Dorel Luca
4ae4fa0651
Backed out changeset 539ae4c2bd53 (bug 628041) for Browser-chrome failures in toolkit/mozapps/extensions/test/xpinstall/browser_doorhanger_installs.js. CLOSED TREE
2019-04-11 03:53:58 +03:00
Shane Caraveo
4f56dd2049
Bug 628041 refresh the install blocked panel text r=flod,aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D25881
--HG--
extra : moz-landing-system : lando
2019-04-10 20:50:13 +00:00
Kris Maglione
e7796b70b4
Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
...
Differential Revision: https://phabricator.services.mozilla.com/D18781
--HG--
extra : rebase_source : cfd98054b2098bc4fee6eeea0736bcd42a036bcf
2019-02-05 21:29:58 -08:00
Brian Grinstead
04c18529e4
Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
...
Differential Revision: https://phabricator.services.mozilla.com/D17699
--HG--
rename : toolkit/content/widgets/notification.xml => toolkit/content/widgets/popupnotification.js
extra : moz-landing-system : lando
2019-02-07 22:16:26 +00:00
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