Commit Graph

25374 Commits

Author SHA1 Message Date
Andrew Osmond
ddabc1b810 Bug 1725388 - Remove pref/envvars that can disable WebRender. r=jrmuizel
MOZ_WEBRENDER=0 now does nothing -- you will either get HW-WR or SW-WR
depending on the platform configuration. The pref
gfx.webrender.force-legacy-layers is removed. This leaves no
configuration option to disable WebRender.

MOZ_WEBRENDER=1 will continue to force WR on, which will ensure in CI we
get HW-WR unless gfx.webrender.software is true.

Differential Revision: https://phabricator.services.mozilla.com/D122474
2021-08-12 20:28:53 +00:00
Dan Mosedale
26912a6f9f Bug 1724108 - Don't send captive-portal-login-success-after-button-pressed in some cases, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121936
2021-08-11 22:07:43 +00:00
Dan Mosedale
7565145cdf Bug 1724108 - Only show captive portal VPN promo after button press, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D121935
2021-08-11 21:22:18 +00:00
Neil Deakin
9042a35faa Bug 1718766, only use session history in parent to get items for back-forward button context menu if items are available, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122039
2021-08-10 17:27:11 +00:00
Narcis Beleuzu
625f7a5de1 Backed out changeset 4f793a75cd93 (bug 1724072) for geckoview failures . CLOSED TREE 2021-08-10 19:19:35 +03:00
Dana Keeler
2a64c08522 Bug 1724072 - allow enabling 3DES only when deprecated versions of TLS are enabled r=rmf
Chrome has removed 3DES completely[0], but we're still seeing some uses of it
in telemetry. Our assumption is that this is either due to old devices that
can't be upgraded, and hence probably use TLS 1.0, or servers that bafflingly
choose 3DES when there are other, better, ciphersuites in common.
This patch allows 3DES to only be enabled when deprecated versions of TLS are
enabled. This should protect users against the latter case (where 3DES is
unnecessary) while allowing them to use it in the former case (where it may be
necessary).

NB: The only 3DES ciphersuite gecko makes possible to enable is
TLS_RSA_WITH_3DES_EDE_CBC_SHA. This patch also changes the preference
corresponding to this ciphersuite from "security.ssl3.rsa_des_ede3_sha" to
"security.ssl3.deprecated.rsa_des_ede3_sha".

[0] https://www.chromestatus.com/feature/6678134168485888

Differential Revision: https://phabricator.services.mozilla.com/D121797
2021-08-10 15:25:37 +00:00
Nika Layzell
d1e4226c32 Bug 1650089 - Part 6: Don't set maychangeremoteness on non-e10s browsers, r=Gijs
This change makes all browsers which were not created with an initial `remote`
attribute within a non-`useRemoteTabs` window be unable to process-switch, as
otherwise we may attempt to switch loads into a content process. We need to
keep process switching enabled for explicitly-remote browsers loaded in a
non-`useRemoteTabs` window as it's relied on for tests and can lead to
assertion failures due to loading remote content in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D121285
2021-08-10 14:31:18 +00:00
Nika Layzell
beae93f726 Bug 1650089 - Part 5: Skip the unnecessary about:blank load when loading view-source for a document, r=Gijs
This load was causing a process switch after the changes in this patch.
This caused the view-source load to also process-switch back when loaded
and confused some view-source machinery. The load isn't necessary, and
if skipped the process switch due to navigation will not occur.

Differential Revision: https://phabricator.services.mozilla.com/D120736
2021-08-10 14:31:17 +00:00
Nika Layzell
e856f2d394 Bug 1650089 - Part 4: Update various tests with new expectations, r=annyG,kmag
The changes in the previous part had a few behaviour changes which are visible
in tests, including cross-origin iframes with sandboxed origins now loading
remotely, and process selection for chrome-triggered null principal loads
behaving differently. In general this caused more process switches.

Differential Revision: https://phabricator.services.mozilla.com/D120674
2021-08-10 14:31:17 +00:00
Nika Layzell
a50cefe2cf Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-10 14:31:16 +00:00
Gijs Kruitbosch
4452eced12 Bug 1724718 - do not set an image attribute for synced tabs items in the synced tabs menupanel unless there is an icon to show, r=markh
Depends on D122162

Differential Revision: https://phabricator.services.mozilla.com/D122163
2021-08-10 06:52:51 +00:00
Sam Foster
5206e479d9 Bug 1719463 - Part 12: Remove the Quit button(s) from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121812
2021-08-10 05:29:34 +00:00
Sam Foster
b65024a336 Bug 1719463 - Part 11: Remove the Help button from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121811
2021-08-10 05:29:34 +00:00
Sam Foster
ba9f1e0d39 Bug 1719463 - Part 10: Remove the devtools button from the pre-proton appMenu view. r=jdescottes,Gijs,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D121810
2021-08-10 05:29:33 +00:00
Sam Foster
d59eb94ce3 Bug 1719463 - Part 9: Remove the More items button and its sub-view from the pre-proton appMenu view. r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D121809
2021-08-10 05:29:33 +00:00
Sam Foster
a99e4754f2 Bug 1719463 - Part 8: Remove the File open, File save and Find buttons from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121808
2021-08-10 05:29:33 +00:00
Sam Foster
9302af6664 Bug 1719463 - Part 7: Remove the Logins, Addons, Preferences and Print buttons from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121807
2021-08-10 05:29:32 +00:00
Sam Foster
7e355195be Bug 1719463 - Part 6: Remove the Library item from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121806
2021-08-10 05:29:32 +00:00
Sam Foster
d81c1b741c Bug 1719463 - Part 5: Remove the edit and zoom items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121805
2021-08-10 05:29:31 +00:00
Sam Foster
102b49c644 Bug 1719463 - Part 4: Remove the new window and session restore items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121804
2021-08-10 05:29:31 +00:00
Sam Foster
05f6d6a8d7 Bug 1719463 - Part 3: Remove the Protections Report items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121803
2021-08-10 05:29:31 +00:00
Sam Foster
47c7137278 Bug 1719463 - Part 2: Remove the Fxa items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121802
2021-08-10 05:29:30 +00:00
Sam Foster
873cf793d2 Bug 1719463 - Part 1: Remove the update banner items from the pre-proton appMenu view. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121801
2021-08-10 05:29:30 +00:00
Makoto Kato
49cc605308 Bug 1719110 - Don't use sync IPC to show suggestion by spellchecker. r=Gijs
CheckCurrentWord on content process causes sync IPC, so I would like to remove
this call on content process. New nsIEditorSpellChecker.suggest method can
avoid it.

Differential Revision: https://phabricator.services.mozilla.com/D119937
2021-08-10 03:55:25 +00:00
Harry Twyford
5c77665322 Bug 1721585 - Show tooltip for both reader-mode-button and reader-mode-button-icon. r=jaws
The bug was that the tooltip was only being shown for reader-mode-button-icon. The tooltip would show if you hovered right over the icon, and it would be undefined otherwise. This patch shows the tooltip regardless of the hover target. The other items on nodeToTooltipMap and nodeToShortcutMap are toolbarbuttons, so their icons are added in CSS and event handling always sees the parent node as the hover target. The reader mode button icon, however, is an <image> child of its parent. Either it or its parent could be hover targets. I considered added some handling in GetDynamicShortcutTooltipText along the lines of checking node.closest(reader-mode-button). I settled on just adding more entries to nodeToTooltipMap and nodeToShortcutMap since it's safer and easier to uplift.

Differential Revision: https://phabricator.services.mozilla.com/D122126
2021-08-09 19:08:33 +00:00
Tim Huang
127064f2e8 Bug 1724677 - Add the missing colon symbol to the top_uri of the telemetry probe 'xfocsp-error-report'. r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D122074
2021-08-09 09:38:26 +00:00
Marco Bonardo
658397d924 Bug 1703475 - Wait for l10n in browser_bug432599.js. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D122001
2021-08-07 19:40:10 +00:00
Gijs Kruitbosch
0c1c818c13 Bug 1718435 - fix clear recent history dialog when there are no open windows, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D121842
2021-08-06 22:18:35 +00:00
Brendan Dahl
1ba71d6e84 Bug 1724461 - Update pdf.js to version 2.11.91 r=pdfjs-reviewers,calixte
Differential Revision: https://phabricator.services.mozilla.com/D122023
2021-08-06 22:15:48 +00:00
Ben Hearsum
aecb82dbfc Bug 1714200: skip failing mochitest-browser-chrome tests on M1 machines r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D121221
2021-08-06 19:16:54 +00:00
Butkovits Atila
22fb2b6793 Backed out 8 changesets (bug 1650089) for causing Xpcshell failures on test_ext_redirects.js. CLOSED TREE
Backed out changeset ee763318d378 (bug 1650089)
Backed out changeset 24d7898ec4bd (bug 1650089)
Backed out changeset bcdd2f5c9840 (bug 1650089)
Backed out changeset 24a5bd7f97dd (bug 1650089)
Backed out changeset 1b8b4e939e82 (bug 1650089)
Backed out changeset a7a4f37a5d72 (bug 1650089)
Backed out changeset 78c012d4b071 (bug 1650089)
Backed out changeset e870508c1ddc (bug 1650089)
2021-08-06 04:35:52 +03:00
Nika Layzell
b2cd12ea84 Bug 1650089 - Part 6: Don't set maychangeremoteness on non-e10s browsers, r=Gijs
This change makes all browsers which were not created with an initial `remote`
attribute within a non-`useRemoteTabs` window be unable to process-switch, as
otherwise we may attempt to switch loads into a content process. We need to
keep process switching enabled for explicitly-remote browsers loaded in a
non-`useRemoteTabs` window as it's relied on for tests and can lead to
assertion failures due to loading remote content in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D121285
2021-08-06 00:10:58 +00:00
Nika Layzell
5d52d5329b Bug 1650089 - Part 5: Skip the unnecessary about:blank load when loading view-source for a document, r=Gijs
This load was causing a process switch after the changes in this patch.
This caused the view-source load to also process-switch back when loaded
and confused some view-source machinery. The load isn't necessary, and
if skipped the process switch due to navigation will not occur.

Differential Revision: https://phabricator.services.mozilla.com/D120736
2021-08-06 00:10:58 +00:00
Nika Layzell
43b384edf0 Bug 1650089 - Part 4: Update various tests with new expectations, r=annyG,kmag
The changes in the previous part had a few behaviour changes which are visible
in tests, including cross-origin iframes with sandboxed origins now loading
remotely, and process selection for chrome-triggered null principal loads
behaving differently. In general this caused more process switches.

Differential Revision: https://phabricator.services.mozilla.com/D120674
2021-08-06 00:10:57 +00:00
Nika Layzell
649f35f3a0 Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-06 00:10:56 +00:00
Doug Thayer
f907b5b4a4 Bug 1546847 - Backed out bug 1546847 and related revs r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121898
2021-08-05 18:34:56 +00:00
Kajal Sah
c9be904cff Bug 1722449 - Adds markup to the tab dialog box for screenshot component. r=emalysz
Differential Revision: https://phabricator.services.mozilla.com/D120931
2021-08-05 17:43:00 +00:00
Gijs Kruitbosch
467ff60c04 Bug 1663571, r=mak
Differential Revision: https://phabricator.services.mozilla.com/D89680
2021-08-05 17:03:34 +00:00
Jon Bauman
909cb45a39 Bug 1682995 - Enable AVIF support by default. r=jrmuizel,necko-reviewers,preferences-reviewers,valentin,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121819
2021-08-05 15:48:00 +00:00
Kagami Sascha Rosylight
1643b79334 Bug 1635018 - Part 3: Remove redundant dragexit listener from browser/base/content r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D121191
2021-08-05 14:33:39 +00:00
Kagami Sascha Rosylight
8258e76e3b Bug 1635018 - Part 2: Replace dragexit with dragleave in browser/ r=Gijs,mak
Differential Revision: https://phabricator.services.mozilla.com/D121190
2021-08-05 14:33:39 +00:00
Mike Conley
ee060eef13 Bug 1721454 - Insert bookmarks before bottom Manage Bookmarks in Bookmarks Menu button. r=NeilDeakin
The CSS class panel-subview-footer-button was removed from the BMB_bookmarksShowAll
element in the Bookmarks Menu toolbar button, but this class is used by browser-places.js
to know where to insert the user's bookmarks in the structure of the menu.

Since this is the only menu that attachPlacesView attaches to, we can supply
the ID of the bottom Manage Bookmarks element, which will cause browserPlacesView.js
to insert the user's bookmarks above it.

Differential Revision: https://phabricator.services.mozilla.com/D121759
2021-08-04 18:53:45 +00:00
Barret Rennie
0b01559886 Bug 1722834 - Implement telemetry for captive portal detection and login r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D121665
2021-08-04 15:25:14 +00:00
Alexandru Michis
5ca72bfc53 Backed out 7 changesets (bug 1650089) for causing xpcshell failures in test_ext_cookieBehaviors.js
Backed out changeset 336d6eb2fc15 (bug 1650089)
Backed out changeset 283ba29cdbeb (bug 1650089)
Backed out changeset c470e4c65117 (bug 1650089)
Backed out changeset 8fc2f428694d (bug 1650089)
Backed out changeset 37e5185dae14 (bug 1650089)
Backed out changeset a26afdc56d91 (bug 1650089)
Backed out changeset 32e207558b3d (bug 1650089)
2021-08-04 12:32:07 +03:00
Nika Layzell
86eb6e4a0b Bug 1650089 - Part 6: Don't set maychangeremoteness on non-e10s browsers, r=Gijs
This change makes all browsers which were not created with an initial `remote`
attribute within a non-`useRemoteTabs` window be unable to process-switch, as
otherwise we may attempt to switch loads into a content process. We need to
keep process switching enabled for explicitly-remote browsers loaded in a
non-`useRemoteTabs` window as it's relied on for tests and can lead to
assertion failures due to loading remote content in the parent process.

Differential Revision: https://phabricator.services.mozilla.com/D121285
2021-08-03 18:17:56 +00:00
Nika Layzell
219db8be70 Bug 1650089 - Part 5: Skip the unnecessary about:blank load when loading view-source for a document, r=Gijs
This load was causing a process switch after the changes in this patch.
This caused the view-source load to also process-switch back when loaded
and confused some view-source machinery. The load isn't necessary, and
if skipped the process switch due to navigation will not occur.

Differential Revision: https://phabricator.services.mozilla.com/D120736
2021-08-03 18:17:55 +00:00
Nika Layzell
424c2aeb15 Bug 1650089 - Part 4: Update various tests with new expectations, r=annyG,kmag
The changes in the previous part had a few behaviour changes which are visible
in tests, including cross-origin iframes with sandboxed origins now loading
remotely, and process selection for chrome-triggered null principal loads
behaving differently. In general this caused more process switches.

Differential Revision: https://phabricator.services.mozilla.com/D120674
2021-08-03 18:17:55 +00:00
Nika Layzell
3d749ece7f Bug 1650089 - Part 1: Add a remoteTypeOverride option for about:blank loads triggered by chrome, r=annyG,kmag
After the changes in this bug, about:blank loads triggered by chrome will
finish in a "web" content process, as they have an untrusted null principal
without a precursor. In a few places throughout the codebase, however, we
perform about:blank loads with the explicit expectation that they do not change
processes. This new remoteTypeOverride option allows the intended final process
to be explicitly specified in this situation.

For security & simplicity reasons, this new attribute is limited to only be
usable on system-principal triggered loads of about:blank in toplevel browsing
contexts.

Differential Revision: https://phabricator.services.mozilla.com/D120671
2021-08-03 18:17:54 +00:00
Gijs Kruitbosch
1e4a561ac0 Bug 1721627 - crash on requests to non-existing chrome: and resource: files on infra, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D120557
2021-08-03 16:46:34 +00:00
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