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

3723 Коммитов

Автор SHA1 Сообщение Дата
Mark Striemer 67dde35bda Bug 1701691 - -moz-toolbar-prefers-color-scheme for dark theme detection r=desktop-theme-reviewers,emilio,harry
This adds a new @media query -moz-toolbar-prefers-color-scheme which works like
prefers-color-scheme but is set based on the browser theme rather than the OS
theme. The background colour of the toolbar is used to determine the theme
dark/light preference. This will be used for in-content common.css pages and
other UI elements that include that stylesheet in the browser-chrome through
shadow DOM.

The end result is that about: pages, infobars, and modals will now "match" the
browser theme (just light/dark mode, not LWT theming support).

Differential Revision: https://phabricator.services.mozilla.com/D111486
2021-04-15 18:17:07 +00:00
Harry Twyford aa6a266066 Bug 1705205 - Make remaining tests in browser/modules/test work with native context menus. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D112085
2021-04-14 20:52:56 +00:00
Markus Stange 11dec9608f Bug 1704569 - Don't synthesize events on menus in browser/modules/test/browser/browser_UsageTelemetry_interaction.js. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D111680
2021-04-13 16:22:18 +00:00
Francesco Lodolo (:flod) f39ec97e9f Bug 1704315 - Change l10n IDs for "Stop" button in process hang infobar, r=florian
Only the label was changed in bug 1694229, causing issues with the existing access key (still used in <89 for "Stop it").
Changing both IDs to force retranslation.

Differential Revision: https://phabricator.services.mozilla.com/D111576
2021-04-12 13:51:01 +00:00
Luca Greco 1bdc1299b6 Bug 1703889 - Ensure hidden extension pageAction are not visible in the urlbar overflow menu on Proton. r=mixedpuppy,mak
Differential Revision: https://phabricator.services.mozilla.com/D111423
2021-04-12 12:06:59 +00:00
Michael Kohler 5e33449e21 Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-11 11:42:57 +00:00
Butkovits Atila 5cdffcf176 Backed out changeset 2ee25a7f42f2 (bug 1701990) for causing failures at browser_970511_undo_restore_default.js. CLOSED TREE 2021-04-10 10:50:31 +03:00
Michael Kohler 2b31de8ac1 Bug 1701990 - Remove Drag Space r=desktop-theme-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D111011
2021-04-10 06:10:15 +00:00
Harry Twyford d9d737c823 Bug 1699834 - Enable new tab page handoff by default and in automated tests. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D111462
2021-04-09 20:52:26 +00:00
Jan-Ivar Bruaroey 13771db18d Bug 1703674 - Revoking cam or mic permission revokes both if either is capturing. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D111174
2021-04-09 20:48:41 +00:00
Marco Bonardo 2c982d3c01 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 18:20:21 +00:00
Mark Striemer 243a572397 Bug 1703173 - Remove ftl adding support from notification-message r=jaws
It turns out the shadow document doesn't need its own FTL imports, the parent can
include them instead. This moves the requirement back onto the caller to ensure
that any FTL files it needs are already imported when creating a notification-message.

Depends on D111189

Differential Revision: https://phabricator.services.mozilla.com/D111190
2021-04-09 15:58:15 +00:00
Cosmin Sabou 13826a4c50 Backed out changeset bd396182f84a (bug 1703274) for causing wpt failures on shape-outside-shape-arguments-000.html. CLOSED TREE 2021-04-09 17:51:48 +03:00
Marco Bonardo af19ef5dc4 Bug 1703274 - Enable Proton Urlbar. r=jaws,extension-reviewers,zombie,rpl
Differential Revision: https://phabricator.services.mozilla.com/D110998
2021-04-09 11:05:17 +00:00
Drew Willcoxon 039abf1efa Bug 1703389 - Fix failures in browser/modules/test/browser/browser_PageActions_newWindow.js with proton urlbar. r=mak
Depends on D111222

Differential Revision: https://phabricator.services.mozilla.com/D111330
2021-04-09 01:27:41 +00:00
Drew Willcoxon de4cbcce3d Bug 1703388 - Fix failures in browser/modules/test/browser/browser_PageActions_contextMenus.js with proton urlbar. r=mak
This builds on D111205 by factoring out some initialization into a new
`initPageActionsTest()` in head.js. I'll need to use it in
browser_PageActions_newWindow.js too (bug 1703389).

Pre-Proton, there are 4 page action context menu items:

* Add to Address Bar
* Remove from Address Bar
* Manage Extension
* Remove Extension

Regardless of Proton, there are two context menus, one for buttons in the urlbar
and one for items in the page action panel. They're actually the same menu of
course.

This test currently checks each menu item in both context menus for a
non-built-in action except for the Remove Extension menu item. In Proton, we
don't need to check Add or Remove, so I modified the test to skip them. I also
added a check for the Remove Extension menu item. The test now must actually
create an extension with a page action to test the context menu because in
Proton only actions with extension IDs get the context menu (bug 1700364). Since
the test is creating an extension anyway, testing the Remove Extension menu item
isn't too hard.

Depends on D111205

Differential Revision: https://phabricator.services.mozilla.com/D111222
2021-04-08 19:07:27 +00:00
Drew Willcoxon 2226cdec68 Bug 1703387 - Fix failures in browser/modules/test/browser/browser_PageActions.js with proton urlbar. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111205
2021-04-08 19:07:26 +00:00
Emma Malysz acd0f28d02 Bug 1703390: fix failures in browser/modules/test/browser/browser_UsageTelemetry_interaction.js for proton urlbar pref r=mak
Differential Revision: https://phabricator.services.mozilla.com/D111163
2021-04-07 21:32:46 +00:00
Kershaw Chang 19602fcd6c Bug 1698661 - Use the id of top browsing context to dispatch transactions, r=necko-reviewers,kmag,dragana
Differential Revision: https://phabricator.services.mozilla.com/D110219
2021-04-07 07:59:18 +00:00
David Parks 9c8a6dec0d Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-06 19:28:13 +00:00
David Parks 2b32f597cb Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-06 19:28:09 +00:00
Mark Striemer 8c847467fd Bug 1702327 - Fix browser_UnsubmittedCrashHandler.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110618
2021-04-06 04:26:30 +00:00
Mark Striemer 888a65b0e0 Bug 1702327 - Fix browser_ProcessHangNotifications.js r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D110617
2021-04-06 04:26:30 +00:00
Csoregi Natalia d68661e2cc Backed out 24 changesets (bug 1682030) for bustage on ProcessHangMonitor.cpp and nsCOMPtr.h. CLOSED TREE
Backed out changeset 5b1644096477 (bug 1682030)
Backed out changeset 35ae60eea3c7 (bug 1682030)
Backed out changeset 3eca76a6d639 (bug 1682030)
Backed out changeset 259c45447ad9 (bug 1682030)
Backed out changeset de9222dc8c31 (bug 1682030)
Backed out changeset 2986c7e14349 (bug 1682030)
Backed out changeset 6af3410bdb93 (bug 1682030)
Backed out changeset 42b0621c2927 (bug 1682030)
Backed out changeset 366e3e371858 (bug 1682030)
Backed out changeset 9adb2865adea (bug 1682030)
Backed out changeset 6af6af3bc03a (bug 1682030)
Backed out changeset da94a91b35ae (bug 1682030)
Backed out changeset 9143da258d0e (bug 1682030)
Backed out changeset 5e20d06952ba (bug 1682030)
Backed out changeset 6253d7e1ce7d (bug 1682030)
Backed out changeset 0e06ddeea3e2 (bug 1682030)
Backed out changeset 9c58d57c9e44 (bug 1682030)
Backed out changeset e90edd89430e (bug 1682030)
Backed out changeset 5861b8166b10 (bug 1682030)
Backed out changeset b4b88cdc7993 (bug 1682030)
Backed out changeset b80054e9805c (bug 1682030)
Backed out changeset 580d857674c0 (bug 1682030)
Backed out changeset a9cdf93c2662 (bug 1682030)
Backed out changeset 9c9c8b4998e2 (bug 1682030)
2021-04-06 03:54:12 +03:00
David Parks f85199c17c Bug 1682030 - Remove NPAPI support from ClearDataService. r=baku
Removes NPAPI plugin support from the ClearDataService as part of removing all of NPAPI.

Differential Revision: https://phabricator.services.mozilla.com/D107146
2021-04-05 23:48:36 +00:00
David Parks 3f9712f20f Bug 1682030 - Remove NPAPI from tests outside of dom/plugins. r=Gijs,cmartin
Removes NPAPI plugin features from tests outside of dom/plugins.  Some tests are updated to avoid NPAPI behavior and others are deleted if they no longer offer anthing useful.

Differential Revision: https://phabricator.services.mozilla.com/D107134
2021-04-05 23:48:32 +00:00
Doug Thayer 261c0c67f4 Bug 1702516 - Fix hang notification tests to not expect terminateGlobal r=florian
Depends on D110583

Differential Revision: https://phabricator.services.mozilla.com/D110695
2021-04-05 16:00:09 +00:00
Doug Thayer f75d49d54f Bug 1702516 - Remove all terminateGlobal uses r=kmag
This never actually worked, because nothing ever listened to the notification
sent in XPCJSContext (kill-content-script-sandbox). We're also removing the
"Temporarily disable extension" button in the slow addon notification, which
was the primary caller of this - however, that's in a separate patch.

Differential Revision: https://phabricator.services.mozilla.com/D110583
2021-04-05 16:00:09 +00:00
Doug Thayer d5a34a1fb7 Bug 1702516 - Remove Temporarily disable extension button r=florian
Fairly straightforward - this removes the button from the slow add-on script
notification, as well as the functions that only it utilizes.

Differential Revision: https://phabricator.services.mozilla.com/D110582
2021-04-05 16:00:08 +00:00
Butkovits Atila 1fe37c0765 Bug 1659101 - disable browser_preloading_tab_moving.js on Linux_64_opt for frequent failures. r=intermittent-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D110050
2021-04-01 15:36:26 +00:00
Mark Banner 4c8840810f Bug 1634564 - Extend SERP counts telemetry sources to include page reloads and navigation through tab history. r=daleharvey
Depends on D109142

Differential Revision: https://phabricator.services.mozilla.com/D109143
2021-03-30 16:31:59 +00:00
Chris H-C ea2a18d757 Bug 1697555 - Remove Telemetry portions of Accounts Ecosystem Telemetry r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D110091
2021-03-29 20:03:38 +00:00
Tim Huang eec2a9b646 Bug 1695050 - Part 2: Modify CookieJarSettings::Create() to be able to creat cookieJarSettings according to the browsing mode. r=dimi,preferences-reviewers
This patch modifies the current CookieJarSettings::Create() function.
It removes the current function and adds two variants. One takes the
nsIPrincipal as input and another takes the enum value. The new
functions will test if the input is for the private browsing window to
create the corresponding cookieJarSettings.

Differential Revision: https://phabricator.services.mozilla.com/D109045
2021-03-29 11:01:51 +00:00
Mark Striemer 355b6522d8 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-29 02:38:56 +00:00
Butkovits Atila e3f13578b0 Backed out changeset 1890d2ac5a43 (bug 1690333) for causing failures on test_bug509732.xhtml. CLOSED TREE 2021-03-29 02:56:02 +03:00
Mark Striemer bc875387b4 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 19:04:34 +00:00
Butkovits Atila 71d46d5a75 Backed out 2 changesets (bug 1690333, bug 1699250) for causing failures on test_bug509732.xhtml. CLOSED TREE
Backed out changeset dcba2814dbc4 (bug 1690333)
Backed out changeset ae3a0e6dde00 (bug 1699250)
2021-03-28 21:16:58 +03:00
Mark Striemer 5711775e12 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-28 17:02:21 +00:00
Cosmin Sabou 4618d0a607 Backed out 2 changesets (bug 1690333, bug 1699250) for mochitest failures on test_notificationbox.xhtml.
Backed out changeset d6780d34ca05 (bug 1690333)
Backed out changeset 50cc5db86f1e (bug 1699250)
2021-03-27 23:58:04 +02:00
Mark Striemer ce67801c64 Bug 1690333 - Proton infobar styles r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D104585
2021-03-27 21:02:51 +00:00
Nick Alexander 34845c657b Bug 1689519 - Pre: Add AppUpdater.jsm helpers: terminal predicate, debug string. r=adw,bytesized
The AppUpdater module invokes a callback with updater status codes.
The callback can be invoked multiple times with different codes
throughout the lifecycle of an update (check).  This helper captures
the codes that are terminal, meaning that the update (check) has
completed.  It also includes a tiny helper to determine a string
representation of a status code for logging.

Differential Revision: https://phabricator.services.mozilla.com/D104637
2021-03-27 20:43:24 +00:00
Gijs Kruitbosch dfd94427a1 Bug 1701202 - fix some browser mochitests to pass with proton enabled, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109910
2021-03-26 21:37:18 +00:00
Csoregi Natalia 71fa781822 Backed out changeset d885acd20f7e (bug 1701202) for causing failures on browser_synced_tabs_menu.js. CLOSED TREE 2021-03-26 21:42:09 +02:00
Gijs Kruitbosch 1b463fbe5f Bug 1701202 - fix some browser mochitests to pass with proton enabled, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D109910
2021-03-26 17:13:27 +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
Paul Zuehlcke 400ed7383c Bug 1698513 - Do not start WebRTC permission grace-period on permission revoke. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D108842
2021-03-25 11:21:16 +00:00
Alexandru Michis 6982d77a14 Backed out changeset 24ff7bb331e0 (bug 1698513) for causing bc failures in browser_devices_get_user_media_in_frame.js
CLOSED TREE
2021-03-24 22:56:07 +02:00
Paul Zuehlcke 556b8f1362 Bug 1698513 - Do not start WebRTC permission grace-period on permission revoke. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D108842
2021-03-24 19:40:48 +00:00
Mark Banner 64b6d341eb Bug 1699467 - Don't stop monitoring SERP telemetry on sub-document loads. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D109604
2021-03-24 14:08:18 +00:00
Marco Bonardo 4819ead6eb Bug 1700364 - Page action buttons should not be remove-able in Proton. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D109519
2021-03-24 09:48:45 +00:00
Scott 1e202523c4 Bug 1693376 - Move save to Pocket to the toolbar. r=Gijs,fluent-reviewers,gvn,flod
Differential Revision: https://phabricator.services.mozilla.com/D107744
2021-03-23 20:06:03 +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
Emma Malysz 030b47279a Bug 1691464, remove screenshot feature from page action panel and move to dedicated widget r=fluent-reviewers,sfoster,flod
The widget is only added if screenshots are enabled (similar behavior to the fxa
toolbar button).
Button must take into account onLocationChange due to the fact that screenshots
extension is not available on about pages.
Adds a test for the disabled state, with more screenshot tests intended in the future

Differential Revision: https://phabricator.services.mozilla.com/D107727
2021-03-17 20:19:23 +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
Florian Quèze cddeca1d20 Bug 1698774 - browser_PageActions.js should not rely on the implicit initial TestUtils.waitForCondition timer, r=Gijs.
Differential Revision: https://phabricator.services.mozilla.com/D108617
2021-03-17 17:39:36 +00:00
Florian Quèze fed6316ae9 Bug 1698771 - browser_PartnerLinkAttribution.js should wait for a rebuild event on the oneOffButtons instead of relying on the implicit initial TestUtils.waitForCondition timer, r=Standard8.
Differential Revision: https://phabricator.services.mozilla.com/D108616
2021-03-17 17:39:36 +00:00
Florian Quèze 2674c6abe4 Bug 1697800 - webrtcUI.getActiveStreams should not throw during tab closing, r=johannh.
Depends on D108011

Differential Revision: https://phabricator.services.mozilla.com/D108012
2021-03-17 17:39:31 +00: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
Mike Conley fd973b15f9 Bug 1697903 - Remove Remember this decision checkbox from Persistent Storage panel. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D108091
2021-03-16 18:00:56 +00:00
Csoregi Natalia b08ae4fb50 Backed out changeset ab94b17b8da3 (bug 1646561) for failures on browser_abort_visibility.js. CLOSED TREE 2021-03-16 20:33:34 +02:00
Steven MacLeod 46d2914958 Bug 1646561 - Stop using DocShell::GetVisibility in nsFocusManager. r=emilio,mconley
We stop checking for the tab state to be `STATE_LOADED` since it
messes up initial focus. Instead, we directly check if the tab
is warming, since that was the intention of this check, AFAICT.
See Bug 1397426 for where this was introduced.

Differential Revision: https://phabricator.services.mozilla.com/D108452
2021-03-16 15:36:55 +00:00
Tim Nguyen 4e61d1f58d Bug 1698499 - Simplify --toolbarbutton-{hover/active}-background and --toolbarseparator-color implementation. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D108433
2021-03-16 08:59:38 +00:00
Mark Striemer ea9aac5aef Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 23:20:56 +00:00
Alexandru Michis 061804b995 Backed out changeset c5b7d3456ec9 (bug 1696253) for causing bc failures in browser_HomePage_add_button.js
CLOSED TREE
2021-03-15 06:54:42 +02:00
Mark Striemer 642c8b6894 Bug 1696253 - Graduate toolbar to browser.proton.enabled r=jaws
Depends on D107294

Differential Revision: https://phabricator.services.mozilla.com/D107952
2021-03-15 03:12:18 +00:00
Mike Conley 15ad15a01c Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
Depends on D106160

Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-13 19:15:55 +00:00
Drew Willcoxon bee11b65b5 Bug 1691436 - Always include page actions in the address bar when Proton is enabled. r=Gijs
The IDs of actions pinned to the urlbar are kept in
`PageActions._persistedActions.idsInUrlbar`. To pin all actions to the urlbar,
theoretically all we need to do is add all action IDs to this array, and things
should just work. PageActions already has a migration mechanism that could check
if Proton is enabled and add all the action IDs if it is. However, that would
mean that if Proton were subsequently disabled, or if the user downgraded to a
Firefox without Proton, they'd end up with all their actions still in the
urlbar. They could remove them one by one so it's not a big problem, but it
would be annoying.

Instead, this patch keeps two arrays of urlbar IDs. One stashes the user's
original pinned actions and PageActions never touches it as long as Proton is
enabled, and the other is the usual array that happens to have the IDs of all
the actions when Proton is enabled.

Depends on D107763

Differential Revision: https://phabricator.services.mozilla.com/D107600
2021-03-13 00:52:11 +00:00
Bogdan Tara afa4e42330 Backed out 3 changesets (bug 1693677) for browser_devices_get_user_media_grace.js failures CLOSED TREE
Backed out changeset df230c366ab3 (bug 1693677)
Backed out changeset 816d2b917939 (bug 1693677)
Backed out changeset f9895c7f1b26 (bug 1693677)
2021-03-13 01:16:10 +02:00
Drew Willcoxon f0fcc77c53 Bug 1697191 - Remove remaining built-in page actions when Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107763
2021-03-12 20:48:30 +00:00
Mark Striemer 8b9967d92d Bug 1694817 - Fix tests that fail with browser.proton.toolbar.enabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107294
2021-03-12 20:01:04 +00:00
Mike Conley 8ff4b701e4 Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
Depends on D106160

Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-12 19:15:13 +00:00
Paul Zuehlcke d94f9c0a90 Bug 1695615 - Updated permission panel for double-keyed WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107071
2021-03-12 10:06:16 +00:00
Paul Zuehlcke f58f5ab06c Bug 1695615 - Removed obsolete per-frame permission tracking for geolocation and WebRTC permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D107070
2021-03-12 10:06:16 +00:00
Paul Zuehlcke 08710869a7 Bug 1693621 - Tests for new SitePermissions expiry behavior. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106160
2021-03-12 10:06:15 +00:00
Paul Zuehlcke 5d2d56e536 Bug 1693621 - Only clear temporary block permissions on user reload. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106496
2021-03-12 10:06:15 +00:00
Paul Zuehlcke c08d590590 Bug 1693621 - Added option to pass custom URI for setting temporary permissions. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D106279
2021-03-12 10:06:15 +00:00
Paul Zuehlcke 9cbab0bd2f Bug 1693621 - Support custom expiry times for temporary SitePermissions. r=johannh
- Added a permission setter argument to pass custom expiry time.
- Refactored TemporaryPermissions to use timeouts instead of timestamps.
  This is needed, so we directly get a callback once a permission expires
  and can notify the UI.
  Previously we only knew if a permission expired if we called the getter.

Differential Revision: https://phabricator.services.mozilla.com/D105983
2021-03-12 10:06:14 +00:00
Paul Zuehlcke 9183571555 Bug 1693621 - Temporary ALLOW SitePermissions. r=johannh
This enables setting temporary permissions with state SitePermissions.ALLOW.
In order to safely support this it updates the temporary permission map
to key non-BLOCK permissions by URI prePath. BLOCK permissions are still
keyed by baseDomain to prevent DoS.

Differential Revision: https://phabricator.services.mozilla.com/D105982
2021-03-12 10:06:14 +00:00
Doug Thayer 14caf9713d Bug 1678411 - Ensure we show slow script notification for fission iframes r=smaug
See bug for more details, but effectively the decision is to show the same
notification which we would normally show for hung pages if an iframe hangs,
but only do so if the user is trying to interact with content hung by that
iframe. This should accomplish that.

Differential Revision: https://phabricator.services.mozilla.com/D107933
2021-03-11 17:41:19 +00:00
Noemi Erli 62639374c4 Backed out changeset 8dd76087ff2b (bug 1694817) for causing failures in browser_UITour.js 2021-03-11 21:56:07 +02:00
Mark Striemer 570cccef25 Bug 1694817 - Fix tests that fail with browser.proton.toolbar.enabled r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107294
2021-03-11 15:09:21 +00:00
prathikshaprasadsuman 8101c15778 Bug 1694959 - Update copy for notifications permission panel. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107628
2021-03-09 21:26:17 +00:00
Mike Conley c960da7b90 Bug 1695322 - Update copy for XR permission panel. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D107519
2021-03-08 20:04:15 +00:00
Mike Conley 5a66c4b4a4 Bug 1696286 - Disable main action highlight in PermissionUI panels when Proton is enabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D107128
2021-03-08 17:45:21 +00:00
Doug Thayer e39cd6c743 Bug 1696482 - Update extension-specific slow script notification text r=florian
Differential Revision: https://phabricator.services.mozilla.com/D107243
2021-03-08 16:57:27 +00:00
Narcis Beleuzu 16d317a8b5 Backed out 1 changesets (bug 1696286) as per mconley`s request.
Backed out changeset 6f8b367e18e3 (bug 1696286)
2021-03-08 17:04:15 +02:00
Emilio Cobos Álvarez 451f185db7 Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107058
2021-03-04 21:59:23 +00:00
Brindusan Cristian 5ccecbfac2 Backed out changeset 34f7e105340a (bug 1695084) for bc failures at browser_permissionsPromptDeny.js. CLOSED TREE 2021-03-04 21:13:50 +02:00
Emilio Cobos Álvarez 471ea42d46 Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107058
2021-03-04 15:35:41 +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
smolnar 2b7eeddb92 Backed out changeset a64ec906ba99 (bug 1695084) for causing browser-chrome failures in browser_PermissionUI_prompts. DONTBUILD CLOSED TREE 2021-03-04 08:57:01 +02:00
Emilio Cobos Álvarez 151c1f2c8d Bug 1695084 - Update persistent storage permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107058
2021-03-04 06:11:46 +00:00
Mike Conley f1a82bcd16 Bug 1696286 - Make it possible for PopupNotifications to be visually unopinionated. r=Gijs
Being 'visually unopinionated' means not showing distinct styling for the main action.

Differential Revision: https://phabricator.services.mozilla.com/D107128
2021-03-04 00:54:01 +00:00
Emilio Cobos Álvarez fb8ed00645 Bug 1695081 - Update geolocation permission panel strings. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107055
2021-03-03 20:19:31 +00:00
Emilio Cobos Álvarez 3c880a8573 Bug 1695299 - Update strings in midi permission prompt. r=mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D107066
2021-03-03 20:17:46 +00:00
Doug Thayer cd5708a26d Bug 1695734 - Remove Learn More link from content script hang infobars r=NeilDeakin
Depends on D106816

Differential Revision: https://phabricator.services.mozilla.com/D106821
2021-03-01 21:18:03 +00:00