Граф коммитов

148 Коммитов

Автор SHA1 Сообщение Дата
Kajal Sah bcfbf03dc8 Bug 1714336 - Removes the disableHighlight option for doorhangers. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D120260
2021-08-03 16:26:28 +00:00
William Durand b1c4ce35a8 Bug 1720845 - Remove the `extensions.webextPermissionPrompts` pref. r=rpl,robwu,asuth
This patch removes the `extensions.webextPermissionPrompts` pref as well as
`permissionPromptsEnabled` prop on `mozAddonManager`.

While working on this patch, we noticed that some of the `browser_webapi.js`
weren't testing anything for a while now. That has been fixed. In addition,
the `test_blocklistchange.js` file has been updated to handle the permissions
prompt.

Differential Revision: https://phabricator.services.mozilla.com/D121114
2021-07-30 14:25:24 +00:00
Molly Howell 25a4ed28ec 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 f3a6b6cd8b 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 501a3f8567 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 75f75ddd39 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 79fa3042a4 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 f77a0684be 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 20e7831a11 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 a8930f1ebe 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 bb48741adb 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 d43ee0e7b6 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 dd847672be 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 90dd607279 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 b1133547ec 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 f511c55b0e 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

--HG--
extra : moz-landing-system : lando
2020-04-03 12:36:01 +00:00
mirefly 75f2319471 Bug 1579734 - Add-ons manager extension Permissions tab always shows all domains. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D66510

--HG--
extra : moz-landing-system : lando
2020-03-13 01:04:41 +00:00
Manvel Saroyan 67af3e7410 Bug 1432083 - Fixed browser.permissions.request doesn't work in WebExtension popup r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D61411

--HG--
extra : moz-landing-system : lando
2020-02-11 16:08:59 +00:00
Cosmin Sabou b1e51ad561 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 e66ace8456 Bug 1432083 - Fixed browser.permissions.request doesn't work in WebExtension popup r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D61411

--HG--
extra : moz-landing-system : lando
2020-02-09 04:10:49 +00:00
Shane Caraveo 7fa8b283f6 Bug 1544975 remove private window extension change notification r=robwu,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D57716

--HG--
extra : moz-landing-system : lando
2020-01-03 23:01:54 +00:00
Shane Caraveo ef6d2edce8 Bug 1581852 handle incognito checkbox for consecutive installs r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D49669

--HG--
extra : moz-landing-system : lando
2019-10-23 21:38:56 +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
Victor Porof af7d1d3b67 Bug 1561435 - Format browser/modules/, a=automatic-formatting
# ignore-this-changeset

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

--HG--
extra : source : f3c632037a1064c41b1f8b02f477c854b2fb4362
2019-07-05 09:55:19 +02:00
Boris Zbarsky 9de72a3ac6 Bug 1557793 part 2. Stop using [array] in nsIStringBundle. r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D34196

--HG--
extra : moz-landing-system : lando
2019-06-11 15:51:51 +00:00
Luca Greco f427f53ee6 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

--HG--
extra : moz-landing-system : lando
2019-03-26 19:04:01 +00:00
Luca Greco 6ae82211f6 Bug 1538546 - Hide incognito checkbox in addon-installed notification for not_allowed extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D24719

--HG--
extra : moz-landing-system : lando
2019-03-26 18:31:57 +00:00
Luca Greco ab09637b22 Bug 1533172 - Show post install notification when enabling sideload extensions. r=mixedpuppy,kmag
Differential Revision: https://phabricator.services.mozilla.com/D22700

--HG--
extra : moz-landing-system : lando
2019-03-22 19:19:35 +00:00
Shane Caraveo c8a20292a3 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

--HG--
extra : moz-landing-system : lando
2019-03-14 18:31:07 +00:00
Andrew Swan 42db01a54d Bug 1534796 Tweak default search prompts r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D23227

--HG--
extra : rebase_source : 07c7a0c165f1067c3f970efe48b9eac4b3e32a8a
2019-03-12 14:32:24 -07:00
Shane Caraveo 808a1d3edb Bug 1533519 hide private checkbox for non-extension addons r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D22591

--HG--
extra : moz-landing-system : lando
2019-03-08 13:51:52 +00:00
Luca Greco fef8da949e 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

--HG--
extra : moz-landing-system : lando
2019-03-06 13:59:31 +00:00
Shane Caraveo 5046835f49 Bug 1531974 revert automatic extension permission in permanent private browsing r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D21937

--HG--
extra : moz-landing-system : lando
2019-03-04 19:00:21 +00:00
Shane Caraveo 3fb3b1e418 Bug 1527127 update addon panel text for private windows r=flod,Gijs,mstriemer,rpl
Differential Revision: https://phabricator.services.mozilla.com/D19845

--HG--
extra : moz-landing-system : lando
2019-02-27 20:05:38 +00:00
Trishul 9b5f1c720c 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

--HG--
extra : moz-landing-system : lando
2019-02-21 10:36:33 +00:00
Luca Greco 2dc201fb52 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

--HG--
extra : moz-landing-system : lando
2019-02-15 14:32:31 +00:00
Luca Greco 52847f1a00 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

--HG--
extra : moz-landing-system : lando
2019-01-29 17:32:51 +00:00
Cosmin Sabou 599a15d354 Merge mozilla-inbound to mozilla-central. a=merge 2019-01-29 12:01:56 +02:00
Shane Caraveo e8915eda78 Bug 1515701 show addons disabled doorhanger in private browsing, r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D15445

--HG--
extra : moz-landing-system : lando
2019-01-29 01:39:37 +00:00
Kris Maglione e930b89c34 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

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Shane Caraveo 29892c75cf 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

--HG--
extra : moz-landing-system : lando
2018-11-27 18:05:59 +00:00
Shane Caraveo 695068b047 Bug 1497702 remove app-installed notification upon dismissal, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D8159

--HG--
extra : moz-landing-system : lando
2018-10-10 23:40:32 +00:00
Shane Caraveo e84b2e0788 Bug 1491438 move addon-installed notification to the appMenu, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D7949

--HG--
extra : moz-landing-system : lando
2018-10-08 14:56:39 +00: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
Kris Maglione 031076f2f3 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

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Narcis Beleuzu 561ccb2ceb 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 cb1ee1e34d 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

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Oriol Brufau a50c798f7a Bug 1474132 - Choose right add-on icon size in about:addons and install popup r=rpl
MozReview-Commit-ID: L5O2OwlK879

--HG--
extra : rebase_source : ee405d9a41a940f5a77df8eba2249ca9c9164101
2018-07-13 13:51:28 +02:00
Kris Maglione 980ae197a0 Bug 1456243: Remove dead prompt-for-distribution-add-ons code. r=aswan
MozReview-Commit-ID: B4HPk0ho7Cz

--HG--
extra : rebase_source : 35c163e652d4f885405a2fc1d79259b3fb17f4b6
2018-05-17 18:56:50 -07:00