Commit Graph

711236 Commits

Author SHA1 Message Date
Glenn Watson
9149dcfec2 Bug 1724846 - Split DL spatial tree to separate payload r=gfx-reviewers,nical
This will allow experimenting with different representations of
the spatial tree (such as interning and/or providing stable
indices during display list building). It may also simplify
future changes to the public API to expose the spatial tree
directly.

As part of these changes, refactor how the debug representation
for the capture format is (de)serialized, to make it simpler to
add different payload vector types in future.

Differential Revision: https://phabricator.services.mozilla.com/D122183
2021-08-24 02:18:51 +00:00
Csoregi Natalia
b9b8914fac Backed out 4 changesets (bug 1726474) for causing crashes. CLOSED TREE
Backed out changeset 5add6784a784 (bug 1726474)
Backed out changeset e2047ab95703 (bug 1726474)
Backed out changeset d53f62933fd0 (bug 1726474)
Backed out changeset 796a54dcb5f0 (bug 1726474)
2021-08-24 04:49:04 +03:00
Dana Keeler
5a31f9b4a6 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-24 01:25:07 +00:00
Mike Hommey
744e5385c6 Bug 1726474 - Enable wasm sandboxing on 64-bits Windows. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D123042
2021-08-24 01:01:39 +00:00
Mike Hommey
b244accf18 Bug 1726474 - Always use clang-type flags when targeting wasm. r=firefox-build-system-reviewers,mhentges
The build system assumes the target compiler is of the same type as the
wasm compiler, but that's not true for wasm32-wasi, which we compile
with clang, while targeting windows, which we compile with clang-cl.
We handle the duality for host/target in a compiler-specific way, but
here, the wasm compiler is always going to be clang.

Differential Revision: https://phabricator.services.mozilla.com/D123041
2021-08-24 01:01:39 +00:00
Mike Hommey
0405de7193 Bug 1726474 - Remove unrelevant flags from wasm builds. r=firefox-build-system-reviewers,mhentges
RTL flags are flags that chooses which C/C++ runtime library to use
(multi-threaded, debug, etc.). They're only relevant when targeting
Windows, not when targeting wasi.

Frame pointer flags are not relevant to wasm (as a matter of fact,
the same wasm code is generated whether using -fomit-frame-pointer
or -fno-omit-frame-pointer)

Differential Revision: https://phabricator.services.mozilla.com/D123040
2021-08-24 01:01:38 +00:00
Mike Hommey
daa1e1f5c3 Bug 1726474 - Preload rlbox library on all platforms. r=nika
Notably, on Windows, the sequences of loading/unloading in child processes trigger https://searchfox.org/mozilla-central/rev/d3683dbb252506400c71256ef3994cdbdfb71ada/toolkit/xre/dllservices/UntrustedModulesData.cpp#324

Differential Revision: https://phabricator.services.mozilla.com/D123039
2021-08-24 01:01:38 +00:00
Emily McMinn
f3d691e2c1 Bug 1720762 - Remove unused onboarding strings and images r=dmose
Differential Revision: https://phabricator.services.mozilla.com/D120997
2021-08-24 00:46:29 +00:00
Matt Woodrow
d944ea047f Bug 1726802 - Trigger pending animations after a paint with the fallback renderer. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D123390
2021-08-24 00:40:45 +00:00
Emilio Cobos Álvarez
0aa4464b29 Bug 1725207 - Implement transform: perspective(none). r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D123350
2021-08-24 00:32:24 +00:00
Emilio Cobos Álvarez
ce1f94374a Bug 1726396 - Update getComputedStyle pseudo-element behavior. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D122978
2021-08-23 23:59:30 +00:00
Jeff Gilbert
ee2ec744b2 Bug 1726863 - Cache/elide GLContext::BindFramebuffer calls. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D123275
2021-08-23 23:59:26 +00:00
Emilio Cobos Álvarez
d001e1c6ac Bug 1724237 - Fix optimization from bug 1722968 to account for when we may dig out of the target subtree for SVG. r=TYLin
Differential Revision: https://phabricator.services.mozilla.com/D122964
2021-08-23 23:10:15 +00:00
Daisuke Akatsuka
34b7b6a2ff Bug 1664814: Limit the number of tokens to reduce calculate time. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D123043
2021-08-23 22:46:31 +00:00
Gerald Squelart
155aae4e27 Bug 1726657 - Only record sampling overheads if MOZ_PROFILER_RECORD_OVERHEADS is set - r=florian
Sampling overheads are very rarely useful, but they occupy some space during profiling, but also a lot of space in the final JSON profile.
So now they will only be recorded if the environment variable "MOZ_PROFILER_RECORD_OVERHEADS" is set to any non-empty value.

Differential Revision: https://phabricator.services.mozilla.com/D123303
2021-08-23 22:23:34 +00:00
Csoregi Natalia
f29de8326b Backed out changeset fd92f897de07 (bug 1726863) for causing assertion failures on ContentCompositorBridgeParent.cpp. CLOSED TREE 2021-08-24 01:34:22 +03:00
Emma Malysz
94a10b99ee Bug 1724194: ensure close button is visible in findbar r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D123392
2021-08-23 22:17:32 +00:00
Jeff Gilbert
d0289fdb72 Bug 1726863 - Cache/elide GLContext::BindFramebuffer calls. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D123275
2021-08-23 21:54:29 +00:00
Michelle Goossens
b9d018d651 Bug 1727186 - Migrate crashtest from Windows 10 AWS and hardware to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123380
2021-08-23 21:05:41 +00:00
Emily McMinn
24c58fa420 Bug 1725980 - Update strings for about:privatebrowsing r=andreio,flod
Differential Revision: https://phabricator.services.mozilla.com/D123014
2021-08-23 20:34:35 +00:00
Jeff Gilbert
c7e1837eff Bug 1724535 - Update WebGL CTS checkout. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D122657
2021-08-23 20:33:52 +00:00
Masayuki Nakano
60cd80358a Bug 1706798 - Add a crashtest r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D123312
2021-08-23 20:29:06 +00:00
Masayuki Nakano
35a7082fb1 Bug 1709418 - Add a crashtest r=m_kato
Depends on D123075

Differential Revision: https://phabricator.services.mozilla.com/D123311
2021-08-23 20:29:05 +00:00
Tomislav Jovanovic
d325696b9f Bug 1708243 - Part 1: Stop using FrameData for windowId in the child process r=robwu
Also remove windowId getters from Context classes, as they're largely unused.

Differential Revision: https://phabricator.services.mozilla.com/D123220
2021-08-23 19:50:37 +00:00
Drew Willcoxon
f959ed5916 Bug 1709511 - Add a preview Fluent file for Firefox Suggest. r=harry,fluent-reviewers,preferences-reviewers,flod
This adds preview localizations for remaining Firefox Suggest strings.

I removed support for `payload.helpTitle` and `sponsoredText`. The `helpTitle`
code comment says it's useful for experiments with hardcoded strings, but we're
not shipping experiments as extensions anymore, and in-tree experimental/
in-development features should use preview localizations AFAICT.

Covered by existing tests:

* browser/components/urlbar/tests/browser/browser_helpUrl.js
* browser/components/urlbar/tests/browser/browser_quickSuggest*
* browser/components/preferences/tests/browser_searchQuickSuggest.js

Depends on D122550

Differential Revision: https://phabricator.services.mozilla.com/D123032
2021-08-23 19:47:16 +00:00
Drew Willcoxon
3e286c829c Bug 1725289 - Internationalize the Firefox Suggest address bar label. r=harry,flod
This adds strings for the "Firefox Suggest" and "{ $engine } Suggestions"
labels.

I ran into a pop-in/flickering problem described in the bug due to the async
nature of the Fluent lookup. IMO it wasn't acceptable. The labels not only pop
in, they also change the height of the panel and push all the results below them
downward since they take up an entire row of horizontal space themselves. To
work around it, I added a whole system for caching strings so they can be used
synchronously. On a cache miss, we just fall back to the usual Fluent lookup
via `document.l10n.setAttributes`.

While I was working on this and making screen recordings to check the flicker, I
noticed some of our existing strings pop in too due to our use of
`document.l10n.setAttributes` when the view is open, like the "Search with
{$engine}" string in results and the "Switch to Tab" chiclet text. That existing
pop-in isn't nearly as noticeable as the Firefox Suggest label because it
doesn't disrupt the view as much. We could potentially use this caching system
for these other strings to reduce overall flicker.

The new strings/labels are tested by the existing browser_groupLabels.js.

Differential Revision: https://phabricator.services.mozilla.com/D122550
2021-08-23 19:47:16 +00:00
Sebastian Hengst
e4e17ad614 Bug 1725195 - skip browser_test_framing_error_pages.js on Linux in general and on macOS + Windows debug for frequent failures. r=jmaher DONTBUILD
Compared to bug 1725214, this failure affects all desktop platforms. On Linux,
the annotation to only skip if the application is 64-bit gets removed because
the test suite always only runs for 64-bit.

The failures started after the changes in bug 1722911 made the tests
https-first compliant.

Differential Revision: https://phabricator.services.mozilla.com/D123369
2021-08-23 19:21:29 +00:00
Csoregi Natalia
e482141c4a Backed out changeset 4d19ea5594d2 (bug 1635548) for assertion failures on ErrorResult.h. CLOSED TREE 2021-08-23 22:26:31 +03:00
Harry Twyford
1ecc24e4b9 Bug 1725146 - Force ColorScheme::Light in NativeGetColor on macOS < 10.14. r=mac-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D122766
2021-08-23 19:06:28 +00:00
Niklas Baumgardner
4858b39c91 Bug 1635548 - Migrated browser-context.inc to Fluent. r=emalysz,flod
Differential Revision: https://phabricator.services.mozilla.com/D123233
2021-08-23 18:46:11 +00:00
Andrei Oprea
4d599e6e9a Bug 1726739 - Adjust profile activity related targeting to 28 day time interval r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D123212
2021-08-23 17:51:26 +00:00
Agi Sferro
d27fa979d1 Bug 1676216 - Use login storage for HTTP auth on Android r=dimi,owlish
This commit allows Android to use the login storage for HTTP auth by migrating
some common toolkit code to promptUsernameAndPassword and promptPassword which
use the login storage.

Differential Revision: https://phabricator.services.mozilla.com/D122508
2021-08-23 17:40:07 +00:00
Agi Sferro
722dfc8e14 Bug 1676216 - Allow runtime delegates in GeckoSessionTestRule. r=owlish
Historically, only session delegates have been allowed in GeckoSessionTestRule
utilities like delegateUntilTestEnd or delegateDuringNextWait.

There's no reason it has to be that way though, and allowing runtime delegates
to use the same utilities removes a lot of boilerplate code that we don't need.

Differential Revision: https://phabricator.services.mozilla.com/D122507
2021-08-23 17:40:07 +00:00
Agi Sferro
dde4fe7c88 Bug 1676216 - Remove o.m.g.test.util.Callbacks. r=owlish
It's a relic of the past when we didn't require default methods for delegates,
we don't need it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D122506
2021-08-23 17:40:06 +00:00
Agi Sferro
7673a9a0a6 Bug 1676216 - Add missing delegate getters. r=owlish
Almost all delegates have getters except for these two. These are also helpful
when implementing delegateUntilTestEnd for runtime delegates.

Differential Revision: https://phabricator.services.mozilla.com/D122505
2021-08-23 17:40:06 +00:00
Agi Sferro
c3ab065708 Bug 1710668 - Allow Gecko to dismiss a prompt. r=owlish
This change adds a new API that allows Gecko to dismiss a prompt automatically.

This will be used to dismiss prompts when they shouldn't be displayed anymore,
e.g. when using basic auth, we hide the prompt if the server rejects the login
information, as we know that the login info is not correct, so there's no point
in saving it.

We will also dismiss prompts automatically when they become stale, e.g. if a
permission prompt is raised and then the user navigates away.

To be able to dismiss a prompt we need to keep track of existing prompt
instances for a Session. We assign each prompt a unique, randomly generated,
UUID that is used to match the javascript prompt instance with the java
counterpart.

The prompts are stored in PromptHolder. Because the PromptController is owned
by the GeckoSession, whenever the session is GC'd we will also release the
prompts associated to it (if any).

Differential Revision: https://phabricator.services.mozilla.com/D122504
2021-08-23 17:40:05 +00:00
Agi Sferro
0448284138 Bug 1710668 - Refactor handlePromptEvent into PromptController. r=owlish
Differential Revision: https://phabricator.services.mozilla.com/D122503
2021-08-23 17:40:05 +00:00
Paul Zuehlcke
074b619abd Bug 1727146 - Only clear the preflight cache on user request. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D123134
2021-08-23 17:36:46 +00:00
Emilio Cobos Álvarez
57a52e77a6 Bug 1726936 - Use transition: initial in accessibility.js. r=jdescottes
The sheet in here is added as an user agent sheet so it matches also
anonymous content.

It can cause some invariants we rely on for scrollbar caching to break.
In particular, we assert that the style we cache and the style we get
match, but this rule causes it to not match.

Make sure to reset transition to the initial value so that scrollbar
styles don't change. This shouldn't change behavior since
transition-duration is zero anyways, but should avoid the assertion
firing.

An alternative would be to use something like
`:not(:-moz-native-anonymous)` or such instead.

Differential Revision: https://phabricator.services.mozilla.com/D123319
2021-08-23 17:31:13 +00:00
Cosmin Sabou
315d26b383 Backed out changeset defb6e39eb0b (bug 1725980) for bc failures on browser_privatebrowsing_about_nimbus.js. CLOSED TREE 2021-08-23 20:40:16 +03:00
Paul Zuehlcke
c92a896853 Bug 1664999 - Added test for partitioned TLS peerIds. r=timhuang
Differential Revision: https://phabricator.services.mozilla.com/D123236
2021-08-23 17:11:00 +00:00
Markus Stange
215c8b6287 Bug 1726836 - Add a mac-only pref gfx.webrender.debug.dump-native-layer-tree-to-file, which, when set, causes each composite to create an HTML file with the layer tree contents at $HOME/Destop/nativelayerdumps-PID/frame-ID.html. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D123261
2021-08-23 17:09:38 +00:00
Emily McMinn
0d6f6cd9dc Bug 1725980 - Update strings for about:privatebrowsing r=andreio,flod
Differential Revision: https://phabricator.services.mozilla.com/D123014
2021-08-23 16:58:20 +00:00
Michelle Goossens
467a5dc859 Bug 1727121 - Migrate gtest from Windows 10 hardware to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123353
2021-08-23 16:54:03 +00:00
Michelle Goossens
1454ed157c Bug 1727098 - Move cppunit from Windows 10 on AWS to Azure r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D123349
2021-08-23 16:36:10 +00:00
Sandor Molnar
42baaf574c Backed out changeset 38aa7d0b471f (bug 1708866) for causing mochitest failures in browser_downloads_panel_height. CLOSED TREE 2021-08-23 19:23:58 +03:00
Morgan Reschenberg
d6491430da Bug 1726695: Add support for RemoteAccessible's in MsaaAccessible::get_accName r=Jamie
Differential Revision: https://phabricator.services.mozilla.com/D123258
2021-08-23 15:39:50 +00:00
Sandor Molnar
86e348213d Bug 1725214 - disable dom/security/test/general/browser_test_framing_error_pages.js for frequent linux failures. r=intermittent-reviewers,jmaher DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D123320
2021-08-23 15:24:19 +00:00
Shane Caraveo
835a16af0a Bug 1725234 add source id to nsIProxyInfo r=dragana,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D123262
2021-08-23 15:21:43 +00:00
Andrei Oprea
82f607f70d Bug 1726401 - Remove about_newtab_with_snippets perf test r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D123105
2021-08-23 15:15:10 +00:00