Commit Graph

129 Commits

Author SHA1 Message Date
Michael Kaply
2529ece97f 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
2020-01-14 22:54:10 +00:00
Johann Hofmann
6d7ae86d5d 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
2019-09-16 09:44:07 +00:00
monikamaheshwari
edb30ffaec Bug 1578683 Turn on ESLint rule prefer-boolean-length-check for toolkit and browser r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D45629
2019-09-14 09:39:26 +00:00
Paul Zuehlcke
ccad3843c5 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
2019-08-30 16:34:08 +00:00
Paul Zuehlcke
bb5c1d1c3a Bug 1574105 - Updated browser-addons.js SitePermissions call to use principal. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D42318
2019-08-20 12:13:32 +00:00
Paul Zuehlcke
f65f2fbccb 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
2019-07-24 16:17:54 +00:00
Victor Porof
a3641f184a Bug 1561435 - Format browser/base/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36041
2019-07-05 09:48:57 +02:00
Paul Zuehlcke
a1a3a6c7c7 Bug 1555405 - Updated PopupNotifications.remove to accept array or single Notification object. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D34500
2019-06-13 14:40:07 +00:00
Paul Zuehlcke
6ee170c46b Bug 1372033 - Added option to permanently disallow addon installation for a website. r=johannh,aswan
Differential Revision: https://phabricator.services.mozilla.com/D28867
2019-05-16 10:20:07 +00:00
Michael Kaply
86d745cd26 Bug 1522823 - Policy for whitelist/blacklist addons by ID. r=aswan,flod
Differential Revision: https://phabricator.services.mozilla.com/D27902
2019-05-15 01:22:39 +00:00
Paul Zuehlcke
bcdf73dbd4 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
2019-05-14 07:53:05 +00:00
Paul Zuehlcke
ceb398035a Bug 1412561 - Block addon installation prompts in fullscreen mode. r=johannh,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27734
2019-05-03 21:44:24 +00:00
Shane Caraveo
4db69eb4c0 Bug 1544489 use separate strings to localize install prompt for unknown sites. r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D27606
2019-04-29 19:00:55 +00:00
Shane Caraveo
82aef64f47 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881
2019-04-11 18:56:47 +00:00
Dorel Luca
57c57b737d 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
ca3ccaf715 Bug 628041 refresh the install blocked panel text r=flod,aswan
Differential Revision: https://phabricator.services.mozilla.com/D25881
2019-04-10 20:50:13 +00:00
Kris Maglione
bf5e48a6c8 Bug 1525511: Part 1 - Remove LWT install gunk. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D18781
2019-02-05 21:29:58 -08:00
Brian Grinstead
c8a487965d Bug 1487065 - Implement popup-notification as a Custom Element r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D17699
2019-02-07 22:16:26 +00:00
Kris Maglione
ab241de6db Bug 1473933: Part 2 - Remove more unused code. r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D6868
2018-09-25 18:06:28 -07:00
Luca Greco
a9ea6dcf9f 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
2018-09-19 16:43:11 +00:00
Mark Banner
462116b7f9 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
2018-08-31 05:59:17 +00:00
Brian Grinstead
1c86f46ecd 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
2018-08-08 15:22:53 -07:00
Dave Townsend
7c2cace29b Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489
2018-07-31 19:13:38 +00:00
Jared Wein
47ea3e6e2a Bug 1451076 - Extension update message should have full text in the tooltip in case it gets truncated. r=Gijs
MozReview-Commit-ID: L2ySkqjkY1P
2018-04-05 13:10:31 -04:00
Gijs Kruitbosch
9e4c16d0a4 Bug 1449548, r=mconley,aswan 2018-03-28 13:48:09 +01:00
Kris Maglione
4189b21383 Bug 1447831: Part 2 - Remove support for restart-required install prompts. r=aswan
MozReview-Commit-ID: JMIiF54Cikm
2018-03-21 15:19:49 -07:00
Paolo Amadini
5b379bb7d6 Bug 1438815 - The main menu stays open after the install of a sideloaded add-on. r=Gijs
MozReview-Commit-ID: K1Y4JkkQ68c
2018-03-05 15:33:14 +00:00
Florian Quèze
f6add2cafd 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
1667cf617f Bug 1431242 - Use popupnotification's built-in bolding for webextension prompts. r=aswan,johannh
MozReview-Commit-ID: 52AtWUlJj4p
2018-01-19 23:34:25 +05:30
Florian Quèze
c5f15a4700 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
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Florian Quèze
3f662053f3 Bug 592653 - script-generated patch to replace gPrefService with Services.prefs, r=Standard8. 2017-12-19 23:45:10 +01:00
Francesco Lodolo (:flod)
f7e0cacf10 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
2017-12-05 15:14:22 +01:00
Mark Banner
5ab2bd1b7a Bug 1421376 - Change various instances of manually calling getService to use Services.jsm in browser/. r=mossop
MozReview-Commit-ID: FW3X2fkOwK2
2017-11-28 19:21:33 +00:00
Dan Banner
5af4450327 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
7501412ad3 Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/base/content/* files. r=Gijs 2017-07-31 12:51:35 +02:00
Florian Quèze
f0035bea93 Bug 1381853 - lazy load browser-addons.js into the browser window, r=mconley. 2017-07-23 00:17:57 +02:00
Doug Thayer
b3a36d4eb9 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
2017-05-15 10:38:33 -07:00
Gijs Kruitbosch
6ecb91be3e Bug 1355020 - part 2: disentangle add-on notifications from 'PanelUI' and their specific spot, r=kmag
MozReview-Commit-ID: h2azhwU60S
2017-05-03 14:53:07 +01:00
Andrew Swan
904f337ff4 Bug 1344214 Update button in addon install doorhanger r=flod
MozReview-Commit-ID: 7bpbpNUfi5h
2017-04-12 15:43:34 -07:00
Mike de Boer
045c385607 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
2017-04-10 16:16:50 +02:00
Doug Thayer
a5b27a8e9b 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
2017-03-21 13:50:09 -07:00
Mark Banner
1b6f3efb6e Bug 1352969 - Fix various ESLint no-undef issues in browser/base (no-undef is not enabled yet). r=mossop
MozReview-Commit-ID: BuTyJAfUoWR
2017-02-22 17:02:59 +00:00
Andrew Swan
0aefbcf90e Bug 1256221 Remove close button from addon install popup r=florian
MozReview-Commit-ID: IbxVJFvBWSv
2016-12-01 11:53:03 -08:00
Jared Wein
796ea77fd8 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
2017-02-28 12:15:04 -05:00
Jared Wein
1b60a47ded Bug 864562 - Move remaining LWT inline styles to CSS variables. r=mikedeboer
MozReview-Commit-ID: 9ETddCw9w14
2017-02-22 14:13:09 -05:00