Commit Graph

146 Commits

Author SHA1 Message Date
Molly Howell
1ca50b1e69 Bug 1698030 - Remove a redundant warning icon. r=preferences-reviewers,Gijs
The only difference between the icon that was removed and the one kept is that
the removed one has a default fill color in the SVG. This meant everywhere the
icon was replaced, we have to make sure that a fill color is defined in CSS.
In a few cases, that necessitated adding a new class. In a few others, colors
were already being defined for the icon, so there was no need to add any here.

Differential Revision: https://phabricator.services.mozilla.com/D121030
2021-07-28 23:55:51 +00:00
prathikshaprasadsuman
28040f0727 Bug 1701046 - Add-on install confirmation panel string should end with a period. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D109929
2021-03-26 16:02:22 +00:00
Emilio Cobos Álvarez
934c0b0653 Bug 1695338 - Tweak extension approval panel layout so that the messages are inline. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107998
2021-03-21 17:02:10 +00:00
Cosmin Sabou
10a21e0e7d Backed out changeset c81efb7a797f (bug 1695338) for xpcshell failures on test_ext_permission_warnings.js. CLOSED TREE 2021-03-20 20:00:14 +02:00
Emilio Cobos Álvarez
a123e1ff86 Bug 1695338 - Tweak extension approval panel layout so that the messages are inline. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107998
2021-03-20 17:22:29 +00:00
prathikshaprasadsuman
602d0bf518 Bug 1695353 - WebExtension permission list should suppress the bullet if the list is only 1 item long. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D107876
2021-03-19 11:37:17 +00:00
Cosmin Sabou
d667e4ffd1 Backed out changeset 64047f9529f0 (bug 1695353) for bc failures on browser_extension_sideloading.js. CLOSED TREE 2021-03-17 20:26:08 +02:00
prathikshaprasadsuman
672edbe205 Bug 1695353 - WebExtension permission list should suppress the bullet if the list is only 1 item long. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D107876
2021-03-17 15:29:39 +00:00
prathikshaprasadsuman
f557c4c38c Bug 1697622 - Update copy for WebExtension install confirmation panel. r=mconley,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108224
2021-03-17 15:09:49 +00:00
Emilio Cobos Álvarez
8839318e1c Bug 1695338 - Update WebExtension approval panel for Proton. r=mconley,robwu
Differential Revision: https://phabricator.services.mozilla.com/D107065
2021-03-04 11:03:11 +00:00
Emma Malysz
a2b7ee8d11 Bug 1636994, ensure panel is created before showing addon install notification r=Gijs,robwu
Differential Revision: https://phabricator.services.mozilla.com/D76166
2020-05-22 17:00:44 +00:00
William Durand
4575ff9534 Bug 1613796 - Make the permission popup queue browser-specific. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D70445
2020-04-16 19:38:17 +00:00
Narcis Beleuzu
6a406d8d46 Backed out changeset a315e85c5376 (bug 1613796) for bc failures on browser_file_xpi_no_process_switch.js . CLOSED TREE 2020-04-04 05:38:34 +03:00
William Durand
e8684f1fce Bug 1613796 - Return false when browser.permissions.request isn't called on the active tab. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D69226
2020-04-03 12:36:01 +00:00
mirefly
b0b687ae89 Bug 1579734 - Add-ons manager extension Permissions tab always shows all domains. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D66510
2020-03-13 01:04:41 +00:00
Manvel Saroyan
cf503b259e Bug 1432083 - Fixed browser.permissions.request doesn't work in WebExtension popup r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D61411
2020-02-11 16:08:59 +00:00
Cosmin Sabou
d0339636d5 Backed out changeset c196f0d65eab (bug 1432083) for browser chrome failures on browser_extension_sideloading.js.
CLOSED TREE
2020-02-09 08:11:27 +02:00
Manvel Saroyan
7baa80373f Bug 1432083 - Fixed browser.permissions.request doesn't work in WebExtension popup r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D61411
2020-02-09 04:10:49 +00:00
Shane Caraveo
d8954b0e4d Bug 1544975 remove private window extension change notification r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D57716
2020-01-03 23:01:54 +00:00
Shane Caraveo
bccfb5f4a3 Bug 1581852 handle incognito checkbox for consecutive installs r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D49669
2019-10-23 21:38:56 +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
Victor Porof
9a78b195ab Bug 1561435 - Format browser/modules/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36046
2019-07-05 09:55:19 +02:00
Boris Zbarsky
95de682140 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196
2019-06-11 15:51:51 +00:00
Luca Greco
6b3a652409 Bug 1538546 - Check AddonManager PERM_CAN_CHANGE_PRIVATEBROWSING_ACCESS permission instead of the incognito manifest property. r=kmag,mixedpuppy
Depends on D24719

Differential Revision: https://phabricator.services.mozilla.com/D24720
2019-03-26 19:04:01 +00:00
Luca Greco
1fbc5265f5 Bug 1538546 - Hide incognito checkbox in addon-installed notification for not_allowed extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D24719
2019-03-26 18:31:57 +00:00
Luca Greco
a5fc6ba66b Bug 1533172 - Show post install notification when enabling sideload extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D22700
2019-03-22 19:19:35 +00:00
Shane Caraveo
85cfdb3344 Bug 1534714 handle checkbox state when appmenu refreshed across windows r=Gijs
This adds an onRefresh option for app menus so we can update custom controls
in any opened window.  In this case, we need to refresh the checkbox state in the
addon-installed panel.  We test this using the theme install test and verify both
windows do not have the checkbox.

Differential Revision: https://phabricator.services.mozilla.com/D23224
2019-03-14 18:31:07 +00:00
Andrew Swan
3753935bea Bug 1534796 Tweak default search prompts r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D23227
2019-03-12 14:32:24 -07:00
Shane Caraveo
6e0592b273 Bug 1533519 hide private checkbox for non-extension addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D22591
2019-03-08 13:51:52 +00:00
Luca Greco
1595c6f4ff Bug 1529347 - Record telemetry event on extensions enabled on private windows from the post install notification doorhanger. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D21931
2019-03-06 13:59:31 +00:00
Shane Caraveo
e51e0314a6 Bug 1531974 revert automatic extension permission in permanent private browsing r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D21937
2019-03-04 19:00:21 +00:00
Shane Caraveo
af2e0877db Bug 1527127 update addon panel text for private windows r=flod,Gijs,mstriemer,rpl
Differential Revision: https://phabricator.services.mozilla.com/D19845
2019-02-27 20:05:38 +00:00
Trishul
aa9cc40f55 Bug 1527660 - Adding learn more link to permissions popup r=mstriemer,johannh
Adding learn more link to permissions popup

Differential Revision: https://phabricator.services.mozilla.com/D19711
2019-02-21 10:36:33 +00:00
Luca Greco
4fd1213f54 Bug 1513344 - Record addonsManager.action telemetry event on interaction with private browsing doorhanger. r=mstriemer,janerik
Depends on D19664

Differential Revision: https://phabricator.services.mozilla.com/D19665
2019-02-15 14:32:31 +00:00
Luca Greco
12379ff784 Bug 1515697 - Replace addonsManager telemetry events num_origin and num_perms extras with num_strings. r=aswan
This patch includes the following changes:

- added a new "num_strings" extra key to the "addonsManager install" and "addonsManager manage"
  telemetry events, where "num_strings" represents the "number of permissions actually visible
  in the extension permission doorhanger"

- do not record a telemetry event for the "permission_prompt" (or "sideload_prompt") if the
  permissions_prompt is not going to be shown

- add num_strings and removed "num_perms" and "num_origins" extras from the test assertions in the existing tests

- added some additional assertions to test in automation that we don't record the telemetry
  event for "permission_prompt" when no permission prompt is being shown for an
  extension update (as part of the browser_extension_update_background_noprompt.js test)

Differential Revision: https://phabricator.services.mozilla.com/D16992
2019-01-29 17:32:51 +00:00
Cosmin Sabou
bf63534551 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Shane Caraveo
80465b08c2 Bug 1515701 show addons disabled doorhanger in private browsing, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15445
2019-01-29 01:39:37 +00:00
Kris Maglione
856fa07b17 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Shane Caraveo
01ea08fe98 Bug 1508853 make the search default panel persistent, r=aswan
This is a quick fix to ensure that the search install panel is shown when an extension uses is_default.  The intention is to uplift for 64.

Differential Revision: https://phabricator.services.mozilla.com/D13078
2018-11-27 18:05:59 +00:00
Shane Caraveo
3ad0efa480 Bug 1497702 remove app-installed notification upon dismissal, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8159
2018-10-10 23:40:32 +00:00
Shane Caraveo
70d9cdaf3f Bug 1491438 move addon-installed notification to the appMenu, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D7949
2018-10-08 14:56:39 +00: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
Kris Maglione
e97c582e3f Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Narcis Beleuzu
749f83cc65 Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
6dcf46ad68 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL
2018-05-21 16:58:23 -07:00
Oriol Brufau
ff639f7950 Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl
MozReview-Commit-ID: L5O2OwlK879
2018-07-13 13:51:28 +02:00
Kris Maglione
ee84f51cd4 Bug 1456243: Remove dead prompt-for-distribution-add-ons code. r=aswan
MozReview-Commit-ID: B4HPk0ho7Cz
2018-05-17 18:56:50 -07:00
Kris Maglione
e2dad07746 Bug 1461145: Support async startup/shutdown bootstrap methods. r=aswan
MozReview-Commit-ID: L0G4DA0KJ87
2018-05-12 18:51:32 -07:00
Tomislav Jovanovic
22033f0467 bug 1455269 - Cancel instalation on notification dismissal r=aswan
MozReview-Commit-ID: DqbgdVTarQ8
2018-05-17 20:46:21 +02:00