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

3723 Коммитов

Автор SHA1 Сообщение Дата
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
Doug Thayer 6eb50a8a4f Bug 1695726 - Change the slow script notification priority to info r=florian
Differential Revision: https://phabricator.services.mozilla.com/D106816
2021-03-01 19:27:01 +00:00
Doug Thayer 755daa2725 Bug 1694229 - Show a different notification is selected tab is hanging r=florian
As part of this, we need to detect that the currently showing notification does
not match the one what we want to display. This also fixes the case where we
show a notification for tab A, then switch to tab B which is also hanging, and
end up listing the title for tab A as hanging in the notification.

Differential Revision: https://phabricator.services.mozilla.com/D106305
2021-02-27 18:22:33 +00:00
Doug Thayer db50f52ea7 Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-27 18:22:32 +00:00
Neil Deakin f66ba76299 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-26 13:43:10 +00:00
Mark Striemer d6c06cd912 Bug 1686525 - Add home button to toolbar when custom homepage is set r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D105575
2021-02-26 00:17:45 +00:00
Mike Conley d1abcdce20 Bug 1693851 - Fix some variety of tests so that they pass with and without Proton AppMenu enabled. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D106381
2021-02-25 23:43:08 +00:00
Bogdan Tara d53cfe7369 Backed out 5 changesets (bug 1694229) by flod's request, lint failures CLOSED TREE
Backed out changeset cb3d9e8d32e6 (bug 1694229)
Backed out changeset 877471a44509 (bug 1694229)
Backed out changeset 286b311d32b2 (bug 1694229)
Backed out changeset 42cb688eae03 (bug 1694229)
Backed out changeset d082f53d882e (bug 1694229)
2021-02-25 22:43:33 +02:00
Doug Thayer 9bcea72137 Bug 1694229 - Show a different notification if selected tab is hanging r=florian
As part of this, we need to detect that the currently showing notification does
not match the one what we want to display. This also fixes the case where we
show a notification for tab A, then switch to tab B which is also hanging, and
end up listing the title for tab A as hanging in the notification.

Differential Revision: https://phabricator.services.mozilla.com/D106305
2021-02-25 19:59:16 +00:00
Doug Thayer 05360b505e Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-25 19:59:14 +00:00
Cosmin Sabou 253c39a17a Backed out changeset 36b76c196497 (bug 1691499) for bc failures on browser_decoderDoctor.js. CLOSED TREE 2021-02-25 21:47:25 +02:00
Neil Deakin 86db2fec08 Bug 1691499, add a link field to notification bar buttons to use a link instead, convert learn more buttons in notification bars to links, r=mstriemer,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D105750
2021-02-25 12:00:39 +00:00
Brindusan Cristian 6f8f3d0e90 Backed out 5 changesets (bug 1694229) for geckoview failures. CLOSED TREE
Backed out changeset 5ce24c91b0c1 (bug 1694229)
Backed out changeset 7fef19f47442 (bug 1694229)
Backed out changeset a70e27ec7747 (bug 1694229)
Backed out changeset 6a5d472e1b05 (bug 1694229)
Backed out changeset d32085239f92 (bug 1694229)
2021-02-25 09:27:50 +02:00
Doug Thayer ebf4df3b69 Bug 1694229 - Show a different notification is selected tab is hanging r=florian
As part of this, we need to detect that the currently showing notification does
not match the one what we want to display. This also fixes the case where we
show a notification for tab A, then switch to tab B which is also hanging, and
end up listing the title for tab A as hanging in the notification.

Differential Revision: https://phabricator.services.mozilla.com/D106305
2021-02-25 04:14:14 +00:00
Doug Thayer a9fbe5527c Bug 1694229 - Update slow script warning visuals r=florian
This patch removes the wait button on the slow script warning, on the suspicion
that it is confusing to the user since it's redundant with the close button. It
also changes the text of the notification to blame the hanging tab.

Differential Revision: https://phabricator.services.mozilla.com/D106015
2021-02-25 04:14:12 +00:00
Neil Deakin 6328418209 Bug 1682442, prioritize tab unloader based on how many processes are used by a tab, how much memory is used by the tab, and whether sound/webrtc/picture in picture is in use for a tab, r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D99738
2021-02-25 00:56:15 +00:00
Nan Jiang 59c6a49f3a Bug 1693393 - add telemetry for sponsored TopSites in Urlbar r=dao,harry
Differential Revision: https://phabricator.services.mozilla.com/D105639
2021-02-24 16:57:27 +00:00
Will Kahn-Greene 91e924a5c7 Bug 1691527 - remove email bits from content process crash dialog. r=mconley
We no longer want to collect email data in crash reports, so we no longer need
to potentially solicit the user for it in the content process crash dialog.
This removes the disabled code for collecting email data.

Differential Revision: https://phabricator.services.mozilla.com/D105496
2021-02-22 17:46:29 +00:00
Neil Deakin 2c12c67037 Bug 1676943, add telemetry for how often tab or subframe crash ui is presented to the user. In addition, add telemetry to indicate that the user is shown the unsubmitted crashes notification bar, r=mconley
The telemetry is triggered either when the user is shown the tab crashed page, or when the subframe notification is displayed and the crash occurs in an active tab, or when the user switches to a tab that has a subframe crash notification displayed. The telemetry only applies the first time the tab is switched to. The unsubmitted crashes notification bar appears after 10 minutes or so and is shown in the top-most browser window, if one exists, and telemetry applies once when this occurs.

Differential Revision: https://phabricator.services.mozilla.com/D100349
2021-02-19 19:24:17 +00:00
Neil Deakin 8fa7de4e9c Bug 1689126, do not show subframe crashed notification if there is no crash report, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D103249
2021-02-19 13:40:45 +00:00
Kris Maglione 9fe7658168 Bug 1652839: Re-enable browser_UnsubmittedCrashHandler.js for Fission/non-QR. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D105074
2021-02-18 00:14:38 +00:00
Marco Bonardo be29ddf67e Bug 1692218 - Add Page Action Menu use counter prefs. r=harry
Also includes:
https://bugzilla.mozilla.org/show_bug.cgi?id=1692216
https://bugzilla.mozilla.org/show_bug.cgi?id=1692215

Differential Revision: https://phabricator.services.mozilla.com/D105033
2021-02-12 20:58:18 +00:00
Mark Banner 263d555274 Bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import', use object destructuring instead (test-only changes). r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D104683
2021-02-11 22:02:15 +00:00
Barret Rennie ba22e83fc5 Bug 1689261 - Remove TIME_TO_LOAD_EVENT_{START,END}_{NO_,}PRELOAD_MS probes r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D104786
2021-02-11 18:21:05 +00:00
Mark Banner 269a6fbae9 Bug 1690750 - Simplify OpenSearchEngine to only allow loading engines from protocols where users can load them from. r=mak
The urls where an OpenSearch engine can be loaded from are already limited in LinkHandlerChild. This is cleaning up and simplifying what the OpenSearchEngine allows, and as a result allows the load path handling to be greatly simplified.

The test changes are due to no longer allowing chrome or file protocols. For future, we probably want to move away from OpenSearch for most of these, but the changes will make it easier to find the places to update.

Differential Revision: https://phabricator.services.mozilla.com/D104010
2021-02-10 18:12:08 +00:00
Tom Schuster cb04d0eac4 Bug 52821 - Add a pref to disable the quit application shortcut. r=Gijs
browser.quitShortcut.disabled=true will disable the Ctrl + Q shortcut on all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D104189
2021-02-10 17:02:57 +00:00
Gijs Kruitbosch 8f27ee7561 Bug 1689462 - don't check for beforeunload on hung content processes, r=florian
Differential Revision: https://phabricator.services.mozilla.com/D104043
2021-02-08 23:50:20 +00:00
Paul Zuehlcke 66fe5653ff Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-02-05 13:40:35 +00:00
Adam Gashlin b8a327219f Bug 1660198 - Part 2: Record installation telemetry event. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D103242
2021-01-30 00:00:26 +00:00
Narcis Beleuzu 868935867c Backed out 2 changesets (bug 1596897) for bc failures on browser_search_discovery.js
Backed out changeset 635972f169e7 (bug 1596897)
Backed out changeset a84b667007e2 (bug 1596897)
2021-01-30 04:01:21 +02:00
Paul Zuehlcke 6445d181dc Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-29 16:06:08 +00:00
Drew Willcoxon 75c1e7b412 Bug 1688786 - Add a browser.urlbar.showSearchSuggestionsFirst pref. r=mak,preferences-reviewers
Introduce a new `browser.urlbar.showSearchSuggestionsFirst` boolean pref that
determines whether search suggestions are shown before general results.

This keeps the `matchBuckets` pref. I could have removed it since the only thing
we're using it for right now is to tell whether suggestions are shown first. The
reason I didn't remove it is because ultimately we do want a `matchBuckets` or
`resultBuckets` pref so we can experiment with different results compositions
using simple pref-flip studies. Hopefully bug 1676469 will land soon and we'll
replace `matchBuckets` with `resultBuckets`, but in the meantime I think we
should keep `matchBuckets` around.

This also removes some `browser.urlbar.matchBuckets` assignments in tests that
don't actually depend on it. For tests that do depend on it, I changed them so
they set `showSearchSuggestionsFirst` now.

Differential Revision: https://phabricator.services.mozilla.com/D103137
2021-01-28 23:23:16 +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
Kris Maglione f440a0cc36 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 20:58:26 +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
Brindusan Cristian e117dc4695 Backed out 2 changesets (bug 1596897) for mochitest failures at browser_setIgnoreCertificateErrors.js. CLOSED TREE
Backed out changeset 00c45a405129 (bug 1596897)
Backed out changeset 61304ccbaada (bug 1596897)
2021-01-28 21:53:46 +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
Kris Maglione 59963809cd Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 18:48:25 +00:00
Paul Zuehlcke 868eb8a1f8 Bug 1596897 - Moved permission list from site identity to separate permission panel. r=johannh
- Added a new permission panel managed by the gPermissionPanel object
- Updated identity-box to separate identity and permission section

Differential Revision: https://phabricator.services.mozilla.com/D99892
2021-01-28 18:00:44 +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
Kris Maglione 36a64d4784 Bug 1685801: Part 2 - Move site origin telemetry to separate module. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D101482
2021-01-28 03:32:30 +00:00
Emma Malysz 0ee3d1c888 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-28 00:29:29 +00:00
Butkovits Atila df8358b5bb Backed out changeset 9226bc3ca03c (bug 1688700) for causing failures on browser_preferences_usage.js. 2021-01-28 01:09:22 +02:00
Emma Malysz 365360e929 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 21:18:20 +00:00
Butkovits Atila 0bd4fa26f2 Backed out changeset cc398c4ac5c8 (bug 1688700) for causing mochitest failures. CLOSED TREE 2021-01-27 22:59:12 +02:00
Emma Malysz 6d589aa680 Bug 1688700, add items to proton app menu r=fluent-reviewers,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D103090
2021-01-27 19:58:22 +00:00
Barret Rennie 617448e09e Bug 1688078 - Collect snapshot of content processes r=jesup
Differential Revision: https://phabricator.services.mozilla.com/D102682
2021-01-27 15:38:08 +00:00
Mark Banner c4afa9e9ad Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-26 13:42:38 +00:00
Brindusan Cristian 70ab748bed Backed out 5 changesets (bug 1687235) for mochitest failures at test_menulist_null_value.xhtml. CLOSED TREE
Backed out changeset 638c802ca1d1 (bug 1687235)
Backed out changeset ec830b771bce (bug 1687235)
Backed out changeset a7c933ddecfd (bug 1687235)
Backed out changeset c36493fb0599 (bug 1687235)
Backed out changeset 6eb33ad5d460 (bug 1687235)
2021-01-26 10:58:43 +02:00
Mark Banner c793c1efb7 Bug 1687235 - Enable ESLint rule no-setter-return for browser/. r=mossop,preferences-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D102152
2021-01-25 22:27:19 +00:00
Kirk Steuber c50930cb95 Bug 1685594 - Add capability for turning off automatic application update checks r=agashlin,preferences-reviewers
Note that this does not add the policy necessary to enable this feature. That policy will be added in Bug 1653430

Differential Revision: https://phabricator.services.mozilla.com/D101251
2021-01-21 23:47:19 +00:00
Mark Banner 9ef7551b55 Bug 1513680 - Remove remaining references to ContentSearch.jsm. r=daleharvey
Depends on D102226

Differential Revision: https://phabricator.services.mozilla.com/D102227
2021-01-22 08:31:03 +00:00
Gijs Kruitbosch 2a63dc9514 Bug 1686816 - ensure we have useful values for waitCount and deselectCount to avoid 'undefined' showing up in telemetry, r=jaws
Unfortunately a meaningful automated test here is difficult because we're dealing with shutdown.

Differential Revision: https://phabricator.services.mozilla.com/D102598
2021-01-21 16:42:21 +00:00
Brindusan Cristian e1dca9ed32 Backed out changeset 102b2b2b5a4c (bug 1687341) as requested by mconley on irc. CLOSED TREE 2021-01-21 17:59:03 +02:00
Neil Deakin 7c97e0940d Bug 1644911, add notification bar when a subframe crashes that allows submitting a crash report, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D97346
2021-01-21 08:44:51 +00:00
Emma Malysz 54a8c3feb4 Bug 1687703, add a preference to see if ctrl-tab is used r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D102496
2021-01-20 23:27:51 +00:00
Emma Malysz 3b83060956 Bug 1687341, checkbox should be checked by default for Geolocation permission prompt r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D102364
2021-01-20 20:49:05 +00:00
Anny Gakhokidze 3ae9a2f63d Bug 1630908 - Part 1: Pass OriginAttributes to be included with remote type, r=nika,marionette-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D101073
2021-01-19 22:23:29 +00:00
Emma Malysz 81042d9206 Bug 1686766, add preference to track if user interacts with library button r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D102072
2021-01-18 15:39:11 +00:00
Neil Deakin 7ac9c1b816 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-15 15:25:44 +00:00
Dave Townsend 2459f40c64 Bug 1682593: Remove the site specific browser feature. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D101860
2021-01-15 11:11:19 +00:00
Butkovits Atila 40d5f1493d Backed out changeset f866f5dc0058 (bug 1684792) for causing failure on browser/browser_edit.js. 2021-01-15 12:53:57 +02:00
Neil Deakin 1b03a29fb6 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-15 00:15:17 +00:00
Razvan Maries 47ff84efca Backed out changeset f901a3b75b79 (bug 1684792) for perma failures on browser_edit.js. CLOSED TREE 2021-01-12 11:56:35 +02:00
Neil Deakin 094e640230 Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D100803
2021-01-11 20:11:41 +00:00
Mark Banner 6bfe97005a Bug 1685124 - Ensure search engine settings are saved before reloading engines. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D101032
2021-01-10 22:33:11 +00:00
Paul Zuehlcke 6504eeb882 Bug 1685306 - Enable dFPI MVP UI pref by default. r=nhnt11
Differential Revision: https://phabricator.services.mozilla.com/D100920
2021-01-08 16:32:52 +00:00
Andreea Pavel 42e394bf4f Bug 1680672 - disable browser_PermissionUI.js on win, linux and mac debug r=intermittent-reviewers,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D100559
2021-01-05 14:23:45 +00:00
Daisuke Akatsuka 53590561a9 Bug 1678606: Remove onClearHistory interface from nsINavHistoryService. r=mixedpuppy,mak
Depends on D99751

Differential Revision: https://phabricator.services.mozilla.com/D99752
2020-12-23 11:15:20 +00:00
Daisuke Akatsuka 04610c3c99 Bug 1678606: Apply history-cleared event instead of onClearHistory. r=mixedpuppy,mak
Depends on D99750

Differential Revision: https://phabricator.services.mozilla.com/D99751
2020-12-23 10:21:54 +00:00
harry 303edf8ca4 Bug 1680019 - Split campaign IDs from the partnerlink.attributionURL pref. r=Standard8
This is a minimal set of changes to allow us to run the weather experiment. By splitting campaign IDs from the attributionURL pref, the weather extension can read the attributionURL pref and append its own CID. I didn't make any changes to the design of search engines or top sites; we met today and decided those needed more careful consideration before we make major changes to PartnerLinkAttribution.

Differential Revision: https://phabricator.services.mozilla.com/D100055
2020-12-21 18:42:46 +00:00
Butkovits Atila 127ca97821 Backed out changeset 6e58c931a044 (bug 1680019) for casuing failure at sandbox-navigation-timing.tentative.html. CLOSED TREE 2020-12-21 22:48:53 +02:00
harry 77c0f5d6cd Bug 1680019 - Split campaign IDs from the partnerlink.attributionURL pref. r=Standard8
This is a minimal set of changes to allow us to run the weather experiment. By splitting campaign IDs from the attributionURL pref, the weather extension can read the attributionURL pref and append its own CID. I didn't make any changes to the design of search engines or top sites; we met today and decided those needed more careful consideration before we make major changes to PartnerLinkAttribution.

Differential Revision: https://phabricator.services.mozilla.com/D100055
2020-12-21 18:42:46 +00:00
Kirk Steuber 093323defd Bug 353804 - Add update swap handling to UpdateListener and AppUpdater r=mhowell
UpdateListener and AppUpdater need to know when a downloading update is transitioning to being a ready update so they don't prompt the user to restart Firefox while updates are still staging (which would result in them not being installed).

Differential Revision: https://phabricator.services.mozilla.com/D95821
2020-12-18 20:57:22 +00:00
Daisuke Akatsuka 2b482f984d Bug 1678611: Remove onTitleChanged interface from nsINavHistoryService. r=mak,mixedpuppy
Depends on D98280

Differential Revision: https://phabricator.services.mozilla.com/D98281
2020-12-18 07:25:49 +00:00
Marco Bonardo 63f7262ffb Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:58:17 +00:00
smolnar d1d6af0ee7 Backed out 4 changesets (bug 1665049) for causing bustages in browser.ini CLOSED TREE
Backed out changeset fd06f6552ad0 (bug 1665049)
Backed out changeset 156a323cd31a (bug 1665049)
Backed out changeset 011f54945acb (bug 1665049)
Backed out changeset 028644c366d5 (bug 1665049)
2020-12-18 11:45:30 +02:00
Marco Bonardo 3e2f9d5ad0 Bug 1665049 - Remove browser.urlbar.update2.oneOffsRefresh. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D99793
2020-12-18 09:26:35 +00:00
Kartik Gautam f7ffcd09fb Bug 1679758 - Remove trailing empty lines r=sylvestre,marionette-reviewers,jgraham
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-15 10:34:54 +00:00
Molly Howell 7bfd39732a Bug 1553982 Part 4 - Display a prompt when waiting for the update lock expires. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D95629
2020-12-10 22:13:11 +00:00
Dorel Luca 7320ae982a Backed out changeset f3aaf04fce3b (bug 1679758) for Devtool failures in browser_styleeditor_syncAddProperty.js. CLOSED TREE 2020-12-13 16:38:21 +02:00
Kartik Gautam caf549c200 Bug 1679758 - Remove trailing empty lines r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D99595
2020-12-13 13:28:30 +00:00
Andrei Oprea b0cf793df1 Bug 1680273 - Move ASRouter telemetry call from child actor to parent r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D98472
2020-12-10 19:19:45 +00:00
Andrei Oprea 7c89351d34 Bug 1639292 - Update max_concurrent_tab_pinned_count probe to record restored pinned tab count r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D98906
2020-12-08 12:17:13 +00:00
Barret Rennie e2fce2bed4 Bug 1677000 - Rename IOUtils.writeAtomic{,UTF8} to IOUtils.write{,UTF8} r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99001
2020-12-09 05:48:46 +00:00
Razvan Maries 9614a08d73 Backed out 7 changesets (bug 1677000) for perma failures on test_ioutils_read_write.html. CLOSED TREE
Backed out changeset 3521334cfc38 (bug 1677000)
Backed out changeset 737f380c2cf2 (bug 1677000)
Backed out changeset 9dba15fdfe1f (bug 1677000)
Backed out changeset b2fa1a061b15 (bug 1677000)
Backed out changeset a5d7845d3c0c (bug 1677000)
Backed out changeset 8e6081b0c07d (bug 1677000)
Backed out changeset 6592577cf0fa (bug 1677000)
2020-12-09 07:34:21 +02:00
Barret Rennie 0dc367a38f Bug 1677000 - Rename IOUtils.writeAtomic{,UTF8} to IOUtils.write{,UTF8} r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D99001
2020-12-09 04:31:40 +00:00
Mark Banner 5bfe12a2c4 Bug 1680735 - Rename SearchTelemetry to SearchSERPTelemetry. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98791
2020-12-08 20:42:15 +00:00
Mark Banner 5cf95b6b27 Bug 1680735 - Move search specific telemetry out of BrowserUsageTelemetry.jsm into a new module. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D98753
2020-12-08 20:42:03 +00:00
Mike Conley 8195c35729 Bug 1680058 - Note a preference value when users use the Downloads, Accounts, Home or Sidebar button. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D99106
2020-12-08 19:08:32 +00:00
Dave Townsend be1d29e22b Bug 1681124: Remove unintentional logging code landed in bug 1675329. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D98947
2020-12-07 18:32:16 +00:00
Cristina Coroiu 1843375acb Backed out 6 changesets (bug 1553982) for breaking updates on Linux (bug 1680935) a=backout
Backed out changeset 78dce99516dd (bug 1553982)
Backed out changeset 40d67c6dfdf3 (bug 1553982)
Backed out changeset 71742fced1ba (bug 1553982)
Backed out changeset 9dcf78cd576f (bug 1553982)
Backed out changeset 01d41760db29 (bug 1553982)
Backed out changeset 5040354e75c2 (bug 1553982)
2020-12-07 11:35:41 +02:00
Mike Conley 100b70d8d8 Bug 1680734 - Update browser_ProcessHangNotifications to use right button count for plugin hangs. r=mossop
buttonCount has a different value depending on whether or not the build is MOZ_DEV_EDITION or
not, since we show an extra Debug button for script hangs in Developer Edition.

We do not show that extra button for plugin hangs, regardless of the build type, so we
shouldn't use buttonCount here.

Differential Revision: https://phabricator.services.mozilla.com/D98793
2020-12-04 17:44:22 +00:00
Dale Harvey 9740a695a6 Bug 1675624 - Persist engine metadata for inactive AppProvided engines r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D97283
2020-12-04 00:01:23 +00:00
Mike Conley e748e4fc00 Bug 1232204 - Use AppConstants.MOZ_DEV_EDITION to detect DevEdition rather than using UpdateChannel. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D98258
2020-12-03 22:24:24 +00:00
Molly Howell bf229b9aa5 Bug 1553982 Part 4 - Display a prompt when waiting for the update semaphore expires. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D95629
2020-12-03 21:52:12 +00:00
Dave Townsend 486e6c4fae Bug 1675329: Add an API for returning an exit code from the application. r=dthayer,necko-reviewers,dragana,nika
Callers can pass an exit code to nsIAppStartup::Quit and it will be returned from the process when
it exits.

Note that I have using uint16_t as the exit code because on Windows the exit code can be a uint and
elsewhere it is an int. A uint16_t will safely convert to either of those and no-one will ever need
more than 64k exit codes!

Differential Revision: https://phabricator.services.mozilla.com/D96857
2020-12-03 20:19:47 +00:00
Razvan Maries 539965b94b Backed out 6 changesets (bug 1553982) for build bustages on stat.h. CLOSED TREE
Backed out changeset a207ff8ae135 (bug 1553982)
Backed out changeset bfea27666adf (bug 1553982)
Backed out changeset 1299e017328e (bug 1553982)
Backed out changeset e9e14538b7ff (bug 1553982)
Backed out changeset 63f834f25945 (bug 1553982)
Backed out changeset 91bc72bf7a1b (bug 1553982)
2020-12-03 22:40:42 +02:00
Molly Howell 03c1f46010 Bug 1553982 Part 4 - Display a prompt when waiting for the update semaphore expires. r=bytesized,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D95629
2020-11-30 22:42:27 +00:00
Andrei Oprea f6cf2a4d4c Bug 1677723 - Telemetry pings are not sent for Snippets r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D98189
2020-11-30 19:47:32 +00:00