Preferences::GetBool is not thread-safe, StaticPrefs are.
Also StaticPrefs are nicer anyway.
There's a lot of Preferences:: usage in dom/media which looks suspicious, though
I don't know if all that runs on the main thread.
Differential Revision: https://phabricator.services.mozilla.com/D38097
--HG--
extra : moz-landing-system : lando
This should ensure that the OOPIF gets painted and attached to the
compositor layer tree before the main part of the test starts. We might
be able to do something more sophisticated like waitForAllPaints or
flushApzRepaints, but it's not trivial because this page loads with an
example.com domain and can't easily access SpecialPowers.
Differential Revision: https://phabricator.services.mozilla.com/D38225
--HG--
extra : moz-landing-system : lando
When using ClearEdgesTracer on PrivateScriptData, we must erase the
types of the GCCellPtr to avoid a number of internal assertions. This is
needed to be able to release PrivateScriptData outside of the JSScript
finalizer.
Differential Revision: https://phabricator.services.mozilla.com/D38024
--HG--
extra : moz-landing-system : lando
Depends on D38169
The code in DevTools using the histograms was already removed in Bug 1381178.
Differential Revision: https://phabricator.services.mozilla.com/D38291
--HG--
extra : moz-landing-system : lando
to make AutoJSAPI error reporting safe for worklets.
Parameter order matches xpc::ErrorReport::Init().
Depends on D34477
Differential Revision: https://phabricator.services.mozilla.com/D34478
--HG--
extra : moz-landing-system : lando
Depends on D38169
The code in DevTools using the histograms was already removed in Bug 1381178.
Differential Revision: https://phabricator.services.mozilla.com/D38291
--HG--
extra : moz-landing-system : lando
Moved network monitor actor files:
network-monitor.js
network-event.js
into devtools/server/actors/network-monitor directory.
And updated moz.build files presented in related directories.
Differential Revision: https://phabricator.services.mozilla.com/D38219
--HG--
rename : devtools/server/actors/network-event.js => devtools/server/actors/network-monitor/network-event.js
rename : devtools/server/actors/network-monitor.js => devtools/server/actors/network-monitor/network-monitor.js
extra : moz-landing-system : lando
This patch should be pure code motion and declaration visibility fixes. There
should be no change in implementation or visible behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37529
--HG--
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Script.cpp
rename : js/src/dbg/Debugger.h => js/src/dbg/Script.h
extra : moz-landing-system : lando
Define a new class, DebuggerScript, inheriting from NativeObject. Move methods
and utility functions into the class as makes sense. Tighten types where
possible on code that works with DebuggerScript objects.
No intended change in behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37509
--HG--
extra : moz-landing-system : lando
Just mach clang-tidy fixes. No intended change in implementation or visible behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37508
--HG--
extra : moz-landing-system : lando
This patch should be pure code motion and declaration visibility changes. There
should be no change in behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37363
--HG--
rename : js/src/dbg/Debugger-inl.h => js/src/dbg/Environment-inl.h
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Environment.cpp
rename : js/src/dbg/Debugger.h => js/src/dbg/Environment.h
extra : moz-landing-system : lando
This patch should be pure code motion and declaration visibility fixes, plus
some formatting changes suggested by clang-tidy. There should be no change in
behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37357
--HG--
rename : js/src/dbg/Debugger-inl.h => js/src/dbg/Frame-inl.h
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Frame.cpp
rename : js/src/dbg/Debugger.h => js/src/dbg/Frame.h
extra : moz-landing-system : lando
This patch should be pure code motion and declaration visibility changes, with
no changes in behavior.
This moves the implementation of Debugger.Objects from js/src/dbg/Debugger.cpp
out into its own file, Object.cpp, with header and inline headers Object.h and
Object-inl.h.
We give js/src/dbg its own moz.build file to avoid object file name collisions
in non-unified builds; see the comments in js/src/dbg/moz.build.
For now, js/src/dbg/moz.build does not use UNIFIED_SOURCES. We will fix that
with a patch at the end of the series.
Differential Revision: https://phabricator.services.mozilla.com/D37336
--HG--
rename : js/src/dbg/Debugger-inl.h => js/src/dbg/Object-inl.h
rename : js/src/dbg/Debugger.cpp => js/src/dbg/Object.cpp
rename : js/src/dbg/Debugger.h => js/src/dbg/Object.h
extra : moz-landing-system : lando
This should just be pure code motion, with no changes to behavior.
Differential Revision: https://phabricator.services.mozilla.com/D37335
--HG--
rename : js/src/dbg/Debugger.cpp => js/src/dbg/NoExecute.h
extra : moz-landing-system : lando
Now that BaselineInterpreterGenerator is also defined there, it's nicer to use the
name of the shared base class.
Differential Revision: https://phabricator.services.mozilla.com/D38174
--HG--
rename : js/src/jit/BaselineCompiler.cpp => js/src/jit/BaselineCodeGen.cpp
rename : js/src/jit/BaselineCompiler.h => js/src/jit/BaselineCodeGen.h
extra : moz-landing-system : lando
Tests will be added in bug 1548861 and bug 1548874.
Differential Revision: https://phabricator.services.mozilla.com/D38220
--HG--
rename : toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onGeneratedPasswordFilled.js => toolkit/components/passwordmgr/test/unit/test_LoginManagerParent_onGeneratedPasswordFilledOrEdited.js
extra : moz-landing-system : lando