This fixes a static_assert on 32-bit platforms because 4 is too small for the JitCode
cell header alignment.
The CodeAlignment value does't really matter as the none backend does not allocate
any JIT code or JitCode instances, but 16 matches x86 and x64.
Differential Revision: https://phabricator.services.mozilla.com/D91093
The supported way of submitting Firefox patches is via moz-phab, so
install it automatically in bootstrap rather than redirecting to docs.
Depends on D90455
Differential Revision: https://phabricator.services.mozilla.com/D90459
This clarifies why the flavors are added in a certain order and why
retrieving the first available one is the best one.
Moreover, this enables previously, accidentally disabled
`NS_WARNING_ASSERTIONS`.
Differential Revision: https://phabricator.services.mozilla.com/D90883
Preparing the transferable has the hidden requirement that the order of
the added flavors matters.
This is the preparation for expressing this in code.
`aTransferable` is renamed in the following commit.
Differential Revision: https://phabricator.services.mozilla.com/D90881
Add support for InflatedChar16Sequence to directly traverse the list of
ParserAtoms to allow reusing code for most of the more complicated cases. For
results that are small and Latin1, we always concat in a stack-allocated
buffer and use the normal internLatin1 path to handle all tiny and well-known
atom cases. The fall-through case does not have to worry about tiny or
well-known atoms as a result.
In the parser, concat is used for combining string literals (although maybe
we should prefer ropes here) or for adding prefixes like "get " on certain
method names.
Differential Revision: https://phabricator.services.mozilla.com/D90887
The FoldAdd code will sometimes accumulate a list of only one atom to
concatenate. This should instead fast-path and skip the call to `concatAtoms`
to be less surprising.
Differential Revision: https://phabricator.services.mozilla.com/D90886
We need to specifiy the partition key for correctly clean-up HSTS data
if network partition is enabled. Without this, some tests could be
affected by HSTS.
Differential Revision: https://phabricator.services.mozilla.com/D90420
This patch renames the internal -moz-math-display to math-style and
exposes it under the layout.css.math-style.enabled preference. The
initial value becomes "normal" but that does not affect the default
MathML behavior since the UA style sheet sets the math-style property
explicitly on <math> tags. WPT tests are updated to use the syntax
approved by the CSSWG.
Intent to prototype: https://groups.google.com/forum/#!msg/mozilla.dev.platform/1hQQ7ISudGo/_yLEckEeBQAJ
Differential Revision: https://phabricator.services.mozilla.com/D90731
With session history in the parent, all history loads needs to be
handled by the parent, which means that E10SUtils with session history
in the parent doesn't need to consider that to determine if a uri can
be loaded.
Differential Revision: https://phabricator.services.mozilla.com/D90961
In particular, this removes the code that was limiting the audibility
notifications spam, because this is handled by the AudibilityMonitor.
Differential Revision: https://phabricator.services.mozilla.com/D90433
This is essentially the same code as the interleaved version, but backwards,
since the memory layout is the opposite, we want to take advantage of memory
locality, and only touch audio samples once each.
The `ProcessAudioData` method has been renamed, because of the similarity
between the `AudioData` type and `ProcessAudioData`, since it can now process
`AudioBlock`s.
Differential Revision: https://phabricator.services.mozilla.com/D90431