This removes most dependencies on BlocksRingBuffer, to ease the transition to
the upcoming Fission-friendly profile buffer, including:
- Length type,
- SumBytes(),
- Gecko extensions of serialization.
Differential Revision: https://phabricator.services.mozilla.com/D66722
--HG--
rename : tools/profiler/public/BlocksRingBufferGeckoExtensions.h => tools/profiler/public/ProfileBufferEntrySerializationGeckoExtensions.h
extra : moz-landing-system : lando
Changes:
Add a new configuration file for GDM that forces the use of X11 instead of Wayland.
This may help with reducing the number of crashes due to window managers.
Differential Revision: https://phabricator.services.mozilla.com/D67006
--HG--
extra : moz-landing-system : lando
RDM displays strange intermediate states of the browser content when opening/closing. This is because we are transitioning between the regular viewport size to a simulated one in both cases. During the transition, RDM should temporarily hide the browser content until the viewport has finished resizing.
Differential Revision: https://phabricator.services.mozilla.com/D67010
--HG--
extra : moz-landing-system : lando
This method was checking for a specific partially initialized state. Replace
with checks for hasBytecode() instead (which ends up checking the same
fields).
Depends on D66883
Differential Revision: https://phabricator.services.mozilla.com/D66884
--HG--
extra : moz-landing-system : lando
This method indicates a BaseScript is "lazy" but has a valid enclosing scope
such that it could be compiled now. This is not true for lazy scripts with
lazy parent scripts.
Patch also cleans up the gc/PublicIterators to use this method and
hasBytecode instead of the general isLazyScript check.
Differential Revision: https://phabricator.services.mozilla.com/D66882
--HG--
extra : moz-landing-system : lando
Replace uses of isLazyScript (which indicates the parser that generated it)
with more specific tests like hasBytecode or hasJitScript. Also move the
hasBaselineScript and hasIonScript accessors to BaseScript.
Differential Revision: https://phabricator.services.mozilla.com/D66881
--HG--
extra : moz-landing-system : lando
Remove miscelaneous uses of LazyScript type. Also move XDRScriptData from
LazyScript to BaseScript. Also remove JSFunction::lazyScript().
Differential Revision: https://phabricator.services.mozilla.com/D66849
--HG--
extra : moz-landing-system : lando
Cleanup up code in the Debugger and in PublicIterators that only used the
LazyScript for overload resolution. This changes are largely mechanical and
there is room to improve implementations in future
Differential Revision: https://phabricator.services.mozilla.com/D66848
--HG--
extra : moz-landing-system : lando
Replace with LazyScript::CreateRaw and move the custom initialization to
XDRLazySscript.
Differential Revision: https://phabricator.services.mozilla.com/D66847
--HG--
extra : moz-landing-system : lando
The old limits were to due bit packing tricks of a very old form of the
LazyScript data structure. Replace this with a limit of UINT32_MAX. For
simplicity, just fail the parse if we hit this limit since the full parse
will also fail.
Differential Revision: https://phabricator.services.mozilla.com/D66846
--HG--
extra : moz-landing-system : lando
This uses the `email` module to parse the .patch file that Github generates,
so that it properly decodes encoded-words in the headers. Also using this
module is better with python3, so this patch also takes the command off the
python2 whitelist and makes it python3-compatible.
Differential Revision: https://phabricator.services.mozilla.com/D66621
--HG--
extra : moz-landing-system : lando
If we don't wait for the click event before checking for the layerization,
then the layerization may not actually have happened at the time of the check.
Differential Revision: https://phabricator.services.mozilla.com/D67031
--HG--
extra : moz-landing-system : lando
Several developers have reported hangs on native Mac builds. I think we should disable the flag on Mac hosts. Even if we could fix the current hangs, without coverage in CI for this build configuration, we're asking for more trouble down the road.
Differential Revision: https://phabricator.services.mozilla.com/D67007
--HG--
extra : moz-landing-system : lando
Before this patch, PSM would register content type handlers to handle certain
certificate types. This was an easy way to install a client certificate after
generating a key with <keygen>, but keygen has been removed. This was also an
easy way to install root certificates, but that's actually a considerable
security risk. We kept this functionality for so long because it was the only
way to add a 3rd-party root certificate to Fennec's certificate store. Now that
Fennec is EOL, we can remove it. (Fenix will need a way to trust 3rd party root
certificates, but the path forward there is to implement the enterprise roots
feature for Android.)
Differential Revision: https://phabricator.services.mozilla.com/D66118
--HG--
extra : moz-landing-system : lando
Remove the CanReuseScriptForClone check since a script mismatch always
implies a callee mismatch.
Differential Revision: https://phabricator.services.mozilla.com/D66592
--HG--
extra : moz-landing-system : lando
With all our actors supporting protocol.js, we can remove
support for the pre-protocol.js actorPrefix property.
Differential Revision: https://phabricator.services.mozilla.com/D66604
--HG--
extra : moz-landing-system : lando
In fronts there's a parentFront property that maintain the link
between a front and its parent.
But Pool isn't using it, and retrieve the parent through poolFor,
which can be a bit slow depending the number of pools and their size.
This patch makes Fronts override the Pool#parent method to retrive the
parent from the parentFront property.
Differential Revision: https://phabricator.services.mozilla.com/D64921
--HG--
extra : moz-landing-system : lando
This patch make it so the RootFront is created from its spec file,
like any other front.
Protocol xpcshell tests are modified to take these changes into account.
Differential Revision: https://phabricator.services.mozilla.com/D66597
--HG--
extra : moz-landing-system : lando