diff options
author | Brian Smith <brian@dbsoft.org> | 2023-05-08 18:28:18 -0500 |
---|---|---|
committer | Brian Smith <brian@dbsoft.org> | 2023-05-08 18:28:18 -0500 |
commit | 13536bf8c99ce19f3e08ea3a1287e78b1811cd42 (patch) | |
tree | 9ef4e2459c23ae0193bd1cd86b37cdb3fafca96e /js/src/builtin | |
parent | 2971cffab479097415e383366561d514086d0d0b (diff) | |
download | uxp-13536bf8c99ce19f3e08ea3a1287e78b1811cd42.tar.gz |
Issue #2236 - Fix import.meta module error in lambdas by moving parseGoal() into SharedContext.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1604792
Also remove ParseGoal being passed through Parser introduced in #1691 Part 2.
Diffstat (limited to 'js/src/builtin')
-rw-r--r-- | js/src/builtin/ReflectParse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/builtin/ReflectParse.cpp b/js/src/builtin/ReflectParse.cpp index 0205887ff6..f0b2001422 100644 --- a/js/src/builtin/ReflectParse.cpp +++ b/js/src/builtin/ReflectParse.cpp @@ -4055,7 +4055,7 @@ reflect_parse(JSContext* cx, uint32_t argc, Value* vp) return false; Parser<FullParseHandler> parser(cx, cx->tempLifoAlloc(), options, chars.begin().get(), chars.length(), /* foldConstants = */ false, usedNames, - nullptr, nullptr, target); + nullptr, nullptr); if (!parser.checkOptions()) return false; |