PKCS#11 requires that serial numbers be DER-encoded (essentially, the bytes of
the serialNumber component of TBSCertificate). On macOS,
SecCertificateCopySerialNumberData gives the contents of this component (so it
lacks the tag and length fields, and may or may not have leading 00 or FF bytes
to indicate sign). On Windows, CERT_INFO.SerialNumber is the value of the
integer with the least significant byte first, which is the opposite of DER
(which has the most significant byte first). It also lacks any leading 00 or FF
sign bytes. Since the OS APIs can't be used here, this patch introduces a
utility function to grab the value of the serialNumber component of a
DER-encoded certificate.
Differential Revision: https://phabricator.services.mozilla.com/D66327
--HG--
extra : moz-landing-system : lando
This patch removes the old thread_profiler bindings, and adds
support for profiling WR with the tracy profiler, which is a
much more advanced frame profiler.
Since it's very lightweight, and only instruments annotated CPU
and GPU zones, it can retain very large profiles, allowing
fine grained analysis of thread interactions, CPU spikes etc.
Differential Revision: https://phabricator.services.mozilla.com/D66926
--HG--
extra : moz-landing-system : lando
This was causing inconsistent directionality depending on the order of changes
between text content and input value.
Differential Revision: https://phabricator.services.mozilla.com/D67039
--HG--
extra : moz-landing-system : lando
Updates `wgpu` code as well as our WebIDL bindings.
The `wgpu-types` is a new component crate that has public types available to
Rust applications that target the Web directly.
Differential Revision: https://phabricator.services.mozilla.com/D67013
--HG--
extra : moz-landing-system : lando
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