Commit graph

144 commits

Author SHA1 Message Date
Mike Kaply
a85f12c5d6 Bug 1735806 - Don't allow installs from AMO if not in policy install_sources r=willdurand,extension-reviewers,rpl,flod
Differential Revision: https://phabricator.services.mozilla.com/D129415
2022-02-09 20:21:17 +00:00
Erik Nordin
af61d50e5e Bug 1693050 - Update extension removal warning content. r=Gijs,fluent-reviewers,mixedpuppy
- Add a question mark to the prompt title.
- Remove redundant promp message.
- Pass window to prompt to use new tab-modal format.

Differential Revision: https://phabricator.services.mozilla.com/D107539
2021-03-11 23:07:20 +00:00
Brindusan Cristian
12f487eb44 Backed out changeset 870e11561811 (bug 1693050) for bc failures in browser_history_navigation.js. CLOSED TREE 2021-03-11 00:12:00 +02:00
Erik Nordin
0a13617a61 Bug 1693050 - Update extension removal warning content. r=Gijs,fluent-reviewers,mixedpuppy
- Add a question mark to the prompt title.
- Remove redundant promp message.
- Pass window to prompt to use new tab-modal format.

Differential Revision: https://phabricator.services.mozilla.com/D107539
2021-03-10 20:44:25 +00:00
Molly Howell
867cdb764b Bug 1694306 - Allow app menu notifcation for extension permission updates to wrap its text. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D106058
2021-02-24 22:33:56 +00:00
Kris Maglione
e6237071e6 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 20:58:43 +00:00
Mihai Alexandru Michis
040e2ea5d0 Backed out 12 changesets (bug 1685801) for causing bc failures in browser_ctrlTab.js
CLOSED TREE

Backed out changeset 021924b62f13 (bug 1685801)
Backed out changeset 38cc10101c1f (bug 1685801)
Backed out changeset 9ab9574ac72a (bug 1685801)
Backed out changeset 1a7f259cc2ec (bug 1685801)
Backed out changeset b267b19a7f6e (bug 1685801)
Backed out changeset 7dfcf0257487 (bug 1685801)
Backed out changeset ee0d0169b079 (bug 1685801)
Backed out changeset 0c358ee51951 (bug 1685801)
Backed out changeset 338ab91af557 (bug 1685801)
Backed out changeset a49415007aaf (bug 1685801)
Backed out changeset b91098299143 (bug 1685801)
Backed out changeset edf6209861a8 (bug 1685801)
2021-01-28 22:55:11 +02:00
Kris Maglione
69c936d646 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 05:25:03 +00:00
Butkovits Atila
7decdccbdc Backed out 12 changesets (bug 1685801) for causing failures on browser_fission_maxOrigins.js. CLOSED TREE
Backed out changeset 0d7153110519 (bug 1685801)
Backed out changeset 5175062925c7 (bug 1685801)
Backed out changeset 2c1250e786f0 (bug 1685801)
Backed out changeset 0ce3c773ba74 (bug 1685801)
Backed out changeset 9d51c6e24dee (bug 1685801)
Backed out changeset 3f4dc6349441 (bug 1685801)
Backed out changeset a80de9abb9f8 (bug 1685801)
Backed out changeset 30786893a5e7 (bug 1685801)
Backed out changeset 8007b12d6e32 (bug 1685801)
Backed out changeset fa814f4b7125 (bug 1685801)
Backed out changeset 14e4e47ee99f (bug 1685801)
Backed out changeset d9f1feba9454 (bug 1685801)
2021-01-28 07:15:59 +02:00
Kris Maglione
5b2b2517a2 Bug 1685801: Part 6 - Move some front-end code from BrowserUtils to a separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101486
2021-01-28 03:32:43 +00:00
Shane Caraveo
41e690dc38 Bug 1659530 skip 3rd party panel when installing recommended addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D87326
2020-09-16 16:53:56 +00:00
Narcis Beleuzu
a7cd806311 Backed out 2 changesets (bug 1659530, bug 1657476) for bustages on check.svg. CLOSED TREE
Backed out changeset 761a09f4d153 (bug 1659530)
Backed out changeset c8afdd9434bb (bug 1657476)
2020-09-01 02:30:36 +03:00
Shane Caraveo
6f359e0bea Bug 1659530 skip 3rd party panel when installing recommended addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D87326
2020-08-31 21:38:13 +00:00
Andrew Park
7fa2f11fad Bug 1544570 - Set minimum time delta value to avoid division by zero. r=zombie
Differential Revision: https://phabricator.services.mozilla.com/D80805
2020-07-06 13:50:55 +00:00
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