Work around our docker version not supporting the close_range syscall
properly, by overriding it to return ENOSYS so glib knows to fall back.
Differential Revision: https://phabricator.services.mozilla.com/D175994
This patch implements the behavior for deferring SafeBrowsing updates
when the browser is in idle mode. The update will be deferred until the
next user interaction active.
Differential Revision: https://phabricator.services.mozilla.com/D175763
With this patch we can optimize almost all calls to `concat` on Speedometer 3 to
allocate the array with the right number of elements from the start. We then just
have to copy the elements from the source object(s).
The zero-args case shows up a number of times, in this case we just clone the array.
The one-arg case is most common, both to concatenate two arrays and to copy an array
and adding a new element to it. This patch lets us optimize each of these three cases.
Differential Revision: https://phabricator.services.mozilla.com/D175778
Use the interesting-symbol mechanism for `@@isConcatSpreadable` so that we can
add a fast path for the common case where the symbol isn't defined.
Differential Revision: https://phabricator.services.mozilla.com/D175776
The self-hosted implementation is slower than a fast native implementation, especially
for large arrays where we can use `memcpy` in C++. This builtin also doesn't need to
call into JS so there's no good reason to self-host it.
This is just the basic implementation, later patches will add fast paths.
This patch disables one tuple test: supporting it will add some complexity
to this patch stack and the proposal is being simplified/changed a lot, so it
doesn't seem worth spending time on now.
Differential Revision: https://phabricator.services.mozilla.com/D175775
No behavior change (these get propagated to the viewport per spec), but
this is generally better, and body-to-viewport propagation isn't
necessarily always understood :)
Also remove an unneeded type attribute while at it.
Depends on D175952
Differential Revision: https://phabricator.services.mozilla.com/D175953
This makes our menus closer to GTK4, and depends less on the native menu
rendering etc. Thunderbird already does this to some extent.
Leave the old code behind a pref for now (just in case). Also fix some
code in nsNativeTheme::GetContentState (fixes rendering of radio menu
items).
Differential Revision: https://phabricator.services.mozilla.com/D175664
Both removed sections are about issues with link.exe, which we haven't
been using ever since we switched to building with clang-cl/lld-link.
Differential Revision: https://phabricator.services.mozilla.com/D175956
- Run glxtest directly from GfxInfo::GetData() in case we're missing glx test data. That happens for unusual code paths
like profile manager run or xpcshell testing.
- Remove nsIGfxInfoDebug::fireTestProcess() hack to run glxtest in testsuite. We don't need that due this change.
Differential Revision: https://phabricator.services.mozilla.com/D175868
- Migrate glxtest pid and pipe fd variables to static members of GfxInfo on Linux
- Implement GfxInfo::FireGLXTestProcess() to run glxtest process.
Differential Revision: https://phabricator.services.mozilla.com/D175867
- Implement ManageChildProcess() to get data from child test process and process exit status. We use glib I/O routines there instead of
our custom implementation.
- Update GfxInfo::GetData() and GfxInfo::GetDataVAAPI() to use it.
Differential Revision: https://phabricator.services.mozilla.com/D175808
This unifies the code for proto mutations and swap.
Without the patch, the tests fail an assertion in debug builds or hit a
correctness bug in release builds.
Differential Revision: https://phabricator.services.mozilla.com/D175911
kab -> 6393ba45712f9d552647ee2d383a42c53d81548b
ko -> fc1eecf22ab20d15d62d98cca16bdbe0f9d03d1a
lo -> cdd350696827a4ec67af3905349313d7f4f4c51e
nb-NO -> 05f387c1af1ea651ed840537c05fd0c73286fe24
sr -> 7a1b42336e652c64870abadbef0541cad84556c5
- use fetch_github_repo.py to get a fresh repro, that is ready for
restoring the patch-stack.
- use moz-patch-stack directory rather than previous github branch to
restore previous patch-stack.
- since we can now easily restore a mid-fast-forward patch-stack, we
can default to storing moz-libwebrtc under STATE_DIR
Depends on D175688
Differential Revision: https://phabricator.services.mozilla.com/D175689