gecko-dev/dom/script
Karl Tomlinson 2405fe930c bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug
nsContentUtils::GetCurrentJSContextForThread() originally needed to use
workers::GetCurrentThreadJSContext() in
https://hg.mozilla.org/mozilla-central/rev/366a45b41539#l2.18
because CycleCollectedJS*()->Context() did not exist until
https://hg.mozilla.org/mozilla-central/rev/1a0cd542e1e9#l7.12

nsContentUtils::GetCurrentJSContext() is thread-safe since these changes:
https://hg.mozilla.org/mozilla-central/rev/e636c7186286#l3.12
https://hg.mozilla.org/mozilla-central/rev/c8029c072776#l2.12

MozReview-Commit-ID: 2f1eGS9uBBO

--HG--
extra : rebase_source : dad1d2084a63413c3975f9e7c66c6b06857c9f23
2018-04-09 12:11:18 +12:00
..
ModuleLoadRequest.cpp Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
ModuleLoadRequest.h Bug 1342416 - Preload module scripts r=baku 2018-02-15 13:18:59 +00:00
ModuleScript.cpp Bug 1342416 - Preload module scripts r=baku 2018-02-15 13:18:59 +00:00
ModuleScript.h Bug 1342416 - Preload module scripts r=baku 2018-02-15 13:18:59 +00:00
moz.build Bug 1432963 - Fixing workers headers - part 17 - no LIBS=[workers] in moz.build files, r=smaug 2018-01-31 08:25:30 +01:00
nsIScriptElement.h Bug 1293362 - Part 4: Generate runtime bindings for calling xpcom methods from rust, r=froydnj 2018-01-23 17:27:26 -05:00
nsIScriptLoaderObserver.idl Bug 1421259 - Fix error events fired when loading JS module dependencies fail r=baku 2017-12-01 13:12:48 +00:00
ScriptElement.cpp Bug 1442207: Remove unneeded arguments to nsIMutationObserver. r=smaug 2018-03-01 22:45:17 +01:00
ScriptElement.h Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan 2017-05-08 08:24:22 +02:00
ScriptLoader.cpp Bug 1448194 - Substract the mBytecodeOffset from the bytecode length, as this could cause some assertion failures. r=mrbkap 2018-04-06 09:47:47 +00:00
ScriptLoader.h Bug 1382020 - Don't preload nomodule scripts when modules are enabled r=hsivonen 2018-01-23 13:07:37 +00:00
ScriptLoadHandler.cpp Bug 1361369 - Fix coding style in ScriptLoadRequest.h r=smaug 2018-01-08 15:17:33 +00:00
ScriptLoadHandler.h Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor. 2017-06-13 13:23:23 +03:00
ScriptLoadRequest.cpp Bug 1428745 - Remove support for version parameter from script loader, r=jonco 2018-01-09 17:00:49 +01:00
ScriptLoadRequest.h Bug 1342416 - Preload module scripts r=baku 2018-02-15 13:18:59 +00:00
ScriptSettings.cpp bug 1328964 use nsContentUtils::GetCurrentJSContext() on all threads r=smaug 2018-04-09 12:11:18 +12:00
ScriptSettings.h Bug 1193394 - Part 1: Microtasks and promises scheduling. r=bevis 2017-11-17 11:01:27 +08:00
ScriptTrace.cpp Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan 2017-05-08 08:24:44 +02:00
ScriptTrace.h Bug 1362119 - part 2 - Splitting ScriptLoader in multiple files, r=ehsan 2017-05-08 08:24:44 +02:00