In order to have a centralized audio control in the parent process, we create two new classes here.
* MediaController
MediaController is a class used to control certain amount of media in the content process. Every controller corresponds to a browsing context.
For example, TabMediaController would correspond to the top level browsing context, which mean it can control all media in the specific tab.
* MediaControlService
As there might be multiple tabs playing audio, so there would be multiple controllers. MediaControlService is a place to manage all of them, you can access specific controller through MediaControlService by providing controller ID.
Everytime a controller becomes active, which means there is a media starts in corresponding browsing context, then controller would be added into the list of the MediaControlService. And it would be removed from the list when the media in corresponding browsering context stopped.
Differential Revision: https://phabricator.services.mozilla.com/D38141
--HG--
extra : moz-landing-system : lando
Another step in the renaming of VarCache variables as mirror variables,
matching the 'mirror' field used in StaticPrefList.yaml.
Differential Revision: https://phabricator.services.mozilla.com/D40794
--HG--
extra : moz-landing-system : lando
Bindgen is no longer necessary now that Rust bindings are generated by
generate_static_pref_list.py.
Differential Revision: https://phabricator.services.mozilla.com/D40793
--HG--
extra : moz-landing-system : lando
Converts privacy.fuzzyfox.clockgrainus varcache pref to a static pref. This pref used two #define values, which I also removed.
Differential Revision: https://phabricator.services.mozilla.com/D41102
--HG--
extra : moz-landing-system : lando
Ranges don't cross documents, and there's no reason the typeahead find passes a
shell around. So just don't do it.
This also fixes a bug where references to frames were kept around a flush.
That's potentially unsafe, so I've avoided the flush by passing false to
nsRange.
If something depends on it all the callers need be audited and fixed to handle a
flush properly.
Depends on D40696
Differential Revision: https://phabricator.services.mozilla.com/D40697
--HG--
extra : moz-landing-system : lando
Converts mozilla.widget.disable-native-theme varcache pref to a static pref and updates uses of its associated global variable with the pref. This also renames the pref to widget.disable-native-theme to group with other widget prefs.
Differential Revision: https://phabricator.services.mozilla.com/D40721
--HG--
extra : moz-landing-system : lando
MANUAL PUSH: to allow docker images to build without closing autoland
Differential Revision: https://phabricator.services.mozilla.com/D41038
--HG--
extra : rebase_source : 60ae00549917411d1839b6e3f8e6ae962d217470
extra : amend_source : a2531b115f5732345f8c34c88669428510d100a4
In the event of a JSContext having gone unused between the last triggerFreeUnusedMemory() and the current one, GlobalHelperThreadState should free the temp LifoAlloc from the main thread. This isn't safe for ContextData and requires tempLifoAlloc to take a different type.
Differential Revision: https://phabricator.services.mozilla.com/D40732
--HG--
extra : moz-landing-system : lando
Automatic update from web-platform-tests
[css-text] Test other space separators for various values of white-space (#18274)
--
wpt-commits: d2416ea88f7877f31e6b9741d5f79a7421a7eab3
wpt-pr: 18274
Automatic update from web-platform-tests
[css-text] verifying the behavior of line breaking classes for values of white-space other than normal (#18272)
Closes#17997
--
wpt-commits: b67a83472e8264b30946c399edec6f998e5461ce
wpt-pr: 18272
Automatic update from web-platform-tests
[css-text] Make tests independent of any specific font (#18268)
The tests were attempting to use a font that is not present in the repo,
and happened to work because most systems' default font's metric are
close enough. Using monospace and measurements in ch makes this reliable
rather than a happy coincidence.
Closes#17995
--
wpt-commits: 3750472d5f9cb9fbeca82d42b175a703a83959f6
wpt-pr: 18268
Automatic update from web-platform-tests
[css-text] Mark as SHOULD tests for recommended behavior (#18269)
Closes#17996
--
wpt-commits: 369c3db274f75a0d78b8f01ba587eebe2b8a3d09
wpt-pr: 18269
Automatic update from web-platform-tests
Update the expected results of calc() serialization in motion-1. (#18263)
Per the current discussion of
https://github.com/w3c/csswg-drafts/issues/3335,
it'd be better to update the serialization of calc() for [motion-1].
At least for now, Firefox matches this behavior.
--
wpt-commits: 661ea3afb17775fdbc71620e8a695416aec99130
wpt-pr: 18263