diff options
author | Brian Smith <brian@dbsoft.org> | 2023-04-21 17:35:04 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2023-04-27 13:34:55 -0500 |
commit | 914299b8ba22bb40fc30f83fe5481ebf4598ab48 (patch) | |
tree | ca0a35c7573f80c33d74b2f3f6b5bde5d5649a2e /dom/worklet | |
parent | e29f4488b1d8d33f3ca04531177d1c1690f57577 (diff) | |
download | uxp-914299b8ba22bb40fc30f83fe5481ebf4598ab48.tar.gz |
Issue #1691 - Part 8: Fix --enable-debug builds and continue dynamic module import changes.
https://bugzilla.mozilla.org/show_bug.cgi?id=1342012
Support import from timeout handlers by associating the initiating script with the compiled JSScript.
Fix error message that covers all import() failures that don't throw a JS exception.
https://bugzilla.mozilla.org/show_bug.cgi?id=1331662
Partial - Replace nsJSUtils::EvaluateString calls by ExecutionContext scopes.
Left EvaluateString() in nsXBLProtoImplField.cpp until ExecutionContext errors can be fixed.
(cherry picked from commit 22fcfc77971a9bb204df664c474681f4dcf54211)
Diffstat (limited to 'dom/worklet')
-rw-r--r-- | dom/worklet/Worklet.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/worklet/Worklet.cpp b/dom/worklet/Worklet.cpp index f6baabd935..5bfdc9c176 100644 --- a/dom/worklet/Worklet.cpp +++ b/dom/worklet/Worklet.cpp @@ -202,8 +202,6 @@ public: compileOptions.setVersion(JSVERSION_DEFAULT); compileOptions.setIsRunOnce(true); - // We only need the setNoScriptRval bit when compiling off-thread here, - // since otherwise nsJSUtils::EvaluateString will set it up for us. compileOptions.setNoScriptRval(true); JS::Rooted<JS::Value> unused(cx); |