The includes are still transitively reachable through the new "#include util/*.h" headers.
Differential Revision: https://phabricator.services.mozilla.com/D51370
--HG--
extra : moz-landing-system : lando
A single header for both memory and byte alignment functions, similar to the
standard <memory> header, which also provides memory and byte alignment related
functionality.
Differential Revision: https://phabricator.services.mozilla.com/D51367
--HG--
rename : js/src/jsutil.h => js/src/util/Memory.h
extra : moz-landing-system : lando
mozilla::Vector already provides an `eraseIf` method, so we should prefer to use
the existing method. Except that Vector::eraseIf doesn't return the number of
elements removed, but that's easy to determine manually. More annoyingly is the
use of a modifying predicate function in Zone.cpp, which prevents using
Vector::eraseIf. It looks like for that specific use case a custome `EraseIf`
function is still necessary.
Differential Revision: https://phabricator.services.mozilla.com/D51362
--HG--
extra : moz-landing-system : lando
Nursery eviction needs to be correctly interleaved with the other preparation steps since finishing the current GC can cause arbitrary code to run (and hence nursery allocations to be made) via calling the GC callbacks.
Differential Revision: https://phabricator.services.mozilla.com/D52161
--HG--
extra : source : 50b2bb645118f2650abfc9f40d409114e57746bd
extra : histedit_source : 4ee3a63419883791eceed3957fa7c328424f9e6d
This takes advantage of the browser-selection patch proposed to Puppeteer.
A --product option allows choice between 'firefox' and 'chrome'.
Puppeteer takes care of profile creation for Firefox. Additional Puppeteer
Launcher options can be passed along with --setopt.
Depends on D52313
Differential Revision: https://phabricator.services.mozilla.com/D52314
--HG--
extra : moz-landing-system : lando
Consider the following case:
<image style="list-style-image: url(foo.png)"></image>
image.style.MozAppearance = "something"
The early return was preventing us from clearing the image.
This is an ancient bug, but it has started happening in the browser chrome
because the lack of lazy frame construction for XUL elements makes us construct
elements with an outdated style, which means in this case that they wouldn't
have the -moz-appearance rule applied yet.
Differential Revision: https://phabricator.services.mozilla.com/D52112
--HG--
extra : moz-landing-system : lando
This helps with getting to the relevant parts more quickly, and a better heading scheme.
Differential Revision: https://phabricator.services.mozilla.com/D52039
--HG--
rename : toolkit/components/search/docs/SearchEngineConfiguration.rst => toolkit/components/search/docs/SearchConfigurationSchema.rst
extra : moz-landing-system : lando
Nursery eviction needs to be correctly interleaved with the other preparation steps since finishing the current GC can cause arbitrary code to run (and hence nursery allocations to be made) via calling the GC callbacks.
Differential Revision: https://phabricator.services.mozilla.com/D52161
--HG--
extra : moz-landing-system : lando
This avoids calling GetTextureForwarder during shutdown which may return a null pointer.
Differential Revision: https://phabricator.services.mozilla.com/D51615
--HG--
extra : moz-landing-system : lando
g_app_info_get_default_for_type() will fail on OpenBSD's veiled
filesystem since we most likely don't have direct access to the binaries
that are registered as defaults for this type. Fake it up by just
executing xdg-open via gio-launch-desktop (which we do have access to)
and letting it figure out which program to execute for this MIME type.
This has the side-effect of ignoring/losing MIME types associations
registered in firefox prefs only.
Differential Revision: https://phabricator.services.mozilla.com/D51388
--HG--
extra : moz-landing-system : lando
ExpandUnveilPath() takes care of expanding potentially
environment-specific XDG_DATA/CONFIG/CACHE_HOME dirs.
The unveil config files lists the allowed paths & modes.
'disable' in the files will disable the corresponding pledge/unveil
syscall.
Differential Revision: https://phabricator.services.mozilla.com/D51387
--HG--
extra : moz-landing-system : lando