This restores extension discovery logic to using the URL for requests where
there's no filename in the Content-Disposition header information, and where
the mimetype gives no indication of the 'correct' extension.
This is a short-term workaround for the larger issue that we should not have
bad local information for these mimetypes - fixing that is bug 1659008, but
requires using the extension to get a better mimetype, which this patch will
also help with.
Differential Revision: https://phabricator.services.mozilla.com/D97824
Before this patch, when RemoteSecuritySettings would download multiple new
stashes, it would add the first one to cert_storage, which would reconstruct
the in-memory representation of all of the issuer/serial hashmaps/sets
(including preexisting ones), and then RemoteSecuritySettings would add the
second one, and cert_storage would reconstruct the entire in-memory
representation of the issuer/serial hashmaps/sets again, and so on, re-doing
all of the work each time. This is essentially O(n^2) work. This patch improves
both RemoteSecuritySettings and cert_storage to minimize this work, reducing it
to O(n).
Differential Revision: https://phabricator.services.mozilla.com/D97829
We use MOZ_WEBRENDER to force WebRender on in our testing
infrastructure. We may silently fallback to basic during our tests if we
encounter an error and the test may pass as a result. It would be best
if we asserted we don't lose WebRender while testing.
Differential Revision: https://phabricator.services.mozilla.com/D97004
Windows being Windows, with its own spellings for everything, let's stay within the WINNT block regardless of whether we meet the compiler requirement.
Differential Revision: https://phabricator.services.mozilla.com/D98355
The main purpose of this is to assert that ArenaList objects are empty on
destruction, i.e. we're not accidentally leaking arenas.
This makes it so that we always move the contents of an ArenaList, which clears
the original list. I also removed a couple of unused methods.
Differential Revision: https://phabricator.services.mozilla.com/D98303
The zstandard package is always installed in the mach virtualenv.
The patch assumes that zstandard is only used from the mach virtualenv,
and never the build virtualenv.
Differential Revision: https://phabricator.services.mozilla.com/D98387
Add compare-with-immediate-constant code generation and test cases for
floating point SIMD comparisons. This follows the pattern already
established for other binary operations.
Generalize the codegen test case harness to also handle x86, and add
x86 tests for the new compare optimizations.
Drive-by fix: remove the FP compare cases for GT/GE from the code
generator as they are not in hardware and are not used by lowering,
and comment better in the macro assembler why the FP compare methods
still accept GT/GE as operators.
Differential Revision: https://phabricator.services.mozilla.com/D95506
Some instructions, such as RIP-relative CMPPS and CMPPD, have a patch
field that is embedded in the instruction, not at the end of it. To
patch this field, the information about the distance between the field
and the end of the instruction must be transmitted in the JmpSrc that
is used for the patching. (Or we must not use JmpSrc.)
This patch generalizes JmpSrc slightly to carry information about the
patch field's distance from the end of the instruction. The only
values allowed are 0 and 1 bytes, since the only case we care about so
far has a single byte trailing the patch field, and this restricts the
offset value in JmpSrc the least while keeping its size small.
Assertions are added to the patching code to guard against values
other than zero except where such values can be used safely.
Differential Revision: https://phabricator.services.mozilla.com/D97268
No need to special case here as both already use cached selection. This makes it consistent with SetSelectionStart etc.
Differential Revision: https://phabricator.services.mozilla.com/D98185
mark wpt tests which need to run with top level await flag, for others add mozilla specific tests with expected changes
***
Differential Revision: https://phabricator.services.mozilla.com/D96066