This flattens all platforms to each have a single SharedMemory
implementation. This includes adding support for freezing mach shared
memory.
Differential Revision: https://phabricator.services.mozilla.com/D224152
Remove AutoWritableJitCode constructor which was only used by the Linker, and
fix the origin and the size of the memory which is mapped as writtable to
include the JitCodeHeader.
Differential Revision: https://phabricator.services.mozilla.com/D222286
It looks like the excluding logic around ThirdPartyPaths.txt works on include
paths, and not on the path of files on disk, so it's necessary to explicitly
exclude files in `fmt/`. Two checks fail as things stand today:
- the one that checks that `explicit` is used for single-arg ctors, this is used
throughout `{fmt}`
- the one that checks that `val != val` isn't used to check for NaN. This is
used in `{fmt}` because `std::isnan` doesn't have an overload for `__float128`.
This check is now ignoring third-party code.
Differential Revision: https://phabricator.services.mozilla.com/D217960
`{fmt}` can use two function pointers under the hood and that trips our
analysis. The function pointers are:
- to grow internal memory buffers for formatting (the allocator can be
customized)
- to format a particular value using a user-supplied function (that is const)
I haven't been able to use the `AutoSuppressGCAnalsysis` because of cicular
include + various bits of code needing to be in header files for inlining +
templates, this will do.
Differential Revision: https://phabricator.services.mozilla.com/D218770
Otherwise we get:
TEST-UNEXPECTED-FAIL | check_binary_compat | SmokeDMD | We do not want these libstdc++ symbol versions to be used:
INFO - _ZNSt3_V216generic_categoryEv (GLIBCXX_3.4.21)
And also we'd rather not crash on IO errors, that are probably not going to be
used in production anyways.
Differential Revision: https://phabricator.services.mozilla.com/D218066
command_context.substs isn't available if we haven't run configure in the source tree,
but in that case we can just infer the build type from the arguments anyway.
Differential Revision: https://phabricator.services.mozilla.com/D226041
In D220213 we tried to change `Symbol.unscopables` so that it's only supported on
syntactic `with` environments (for performance reasons). This failed some WPT tests
for event handlers because they use non-syntactic with-environments but have to
support `Symbol.unscopables`.
This patch adds a `JS::EnvironmentChain` class and uses it instead of an object vector
for some JS APIs. This class also lets the embedder specify whether `Symbol.unscopables`
must be supported. The `evaluate` shell function now has an option for this too.
Differential Revision: https://phabricator.services.mozilla.com/D226139
This is important for script-based font selection, as it avoids forcing
Latin script on 8-bit text runs that contain only Common characters such
as punctuation, and may be better rendered according to the context
language.
By itself this does not change user-visible behavior, but it will affect
how CSS generic font families are resolved in some cases once we implement
bug 1748636.
Differential Revision: https://phabricator.services.mozilla.com/D226287
This does not change existing behavior.
The main update is to make the Next() method return a Run struct,
instead of three separate outparams and a function result (bool).
This makes things tidier for the calling code.
Differential Revision: https://phabricator.services.mozilla.com/D226285
* Fix various z-index/paint order issues by making the urlbar a popover - which moves the open
urlbar to the top layer, outside the toolbox
* Adjust the urlbar position when the autohide menubar shows and hides
Combines work from nsharpley and sfoster on top of emilio's original popover patch
Differential Revision: https://phabricator.services.mozilla.com/D224201
The button could cover previous element (the tagname or an attribute value),
taking precedence over the clicked element.
To avoid this, we move the button hover the > character.
Differential Revision: https://phabricator.services.mozilla.com/D226278