PGamepadEventChannelParent will need to send an async message back to the
child with info about the new shared memory region upon creation.
The IPDL channel is not ready during allocation, so we need to defer
registering the actor with GamepadPlatformService until the IPDL
"RecvConstructor" message so the channel will be available.
This is just a straight refactor to prepare for the upcoming change.
Differential Revision: https://phabricator.services.mozilla.com/D105127
This class (which may be useful outside of just gamepad code) provides an API to share an object across processes in a synchronized manner.
Eventually it will be used to share gamepad data (axes, buttons, etc) immediately with child processes for performance reasons.
Differential Revision: https://phabricator.services.mozilla.com/D100215
This essentially reverts what we did in bug 1686274, because users are not happy
with just getting Segoe UI Emoji instead. However, the pref is left in place so
that we can easily experiment with disabling the font to continue testing the
impact on startup, rendering, etc.
Differential Revision: https://phabricator.services.mozilla.com/D107056
Just adding the toolchain tasks for now. They are not yet used by anything, but bug 1693288 might be interested eventually.
As with earlier releases, clang-tidy and mingw builds are not included here, they'll be separate patches.
Differential Revision: https://phabricator.services.mozilla.com/D106554
This is straight-forward and builds on the color animation code. This
implements only the <percentage> syntax, not the whole <color-adjuster>
syntax, which seems fairly more complex.
Of course, this only uses sRGB because that's all the colors we support,
but it should be feasible to extend to lab() / lch() colors once we
support those.
I believe this subset of syntax is useful and worth implementing, so
people can play with it and say if it's useful.
Differential Revision: https://phabricator.services.mozilla.com/D106698
Had to adjust a TelemetrySession test to be a better unit test.
While I was in the neighbourhood, I added a test covering this behaviour.
Differential Revision: https://phabricator.services.mozilla.com/D107008
The check was a bit too general it seems. Explicitly allow moving focus
for link clicks and window.open(), which are the things we have tests
for and care about moving focus.
Differential Revision: https://phabricator.services.mozilla.com/D107039
This stencil is stack allocated for parsing, so reserving a small number of
ianline vector elements can avoid allocations in most cases. The extensible
stencil will also be used for cases such as incremental XDR encoding, but in
that case this modest size increase is negligible compared to the rest of the
stencil data. The chosen values favour delazifcation scenarios which are by
far the most common source of stencil. Every compilation has at least one
scope+script and 80% of delazifications only have one of each. GCThings are
more distributed, but 8 covers 75% of cases over some very large scripts on
common websites. These reservations add approximately 80 bytes to the approx
600 bytes of the ExtensibleCompilationStencil.
Differential Revision: https://phabricator.services.mozilla.com/D107022
wpt no longer supports this, so the test resolver doesn't work.
Since mozbuild always used Py 3 this doesn't seem to be a problem
Differential Revision: https://phabricator.services.mozilla.com/D106765
Upstream wptserve just switched to Python 3 only. That's fine for
web-platform-tests, but it turns out that some marionette harness
tests are also using wptserve and are still on Python 2.
Since fixing marionette harness turns out to be non-trivial and this
blocks other wpt work, this patch does the following:
* Temporarily vendors the last wptserve revision that works with
Python 2 in to testing/web-platform/mozilla/tests/tools/wptserve_py2
* Configures the mach virtualenv to use that copy for Python 2 modules
only.
* Configures the test packaging system to also put that copy in the
common tests zip. Requirements files are updated to use either the
Python 2 version or the Pyhton 3 version as required.
Differential Revision: https://phabricator.services.mozilla.com/D106764