mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Update to SpiderMonkey 137. (#37077)
Incorporates the updates from https://github.com/servo/mozjs/pull/584. Testing: Existing WPT coverage is enough. Fixes: Part of #36258 --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
fd20a5df42
commit
842dd99698
25 changed files with 129 additions and 1417 deletions
|
@ -31,7 +31,7 @@ use ipc_channel::ipc::{self, IpcSender};
|
|||
use ipc_channel::router::ROUTER;
|
||||
use js::glue::{IsWrapper, UnwrapObjectDynamic};
|
||||
use js::jsapi::{
|
||||
Compile1, CurrentGlobalOrNull, GetNonCCWObjectGlobal, HandleObject, Heap,
|
||||
Compile1, CurrentGlobalOrNull, DelazificationOption, GetNonCCWObjectGlobal, HandleObject, Heap,
|
||||
InstantiateGlobalStencil, InstantiateOptions, JSContext, JSObject, JSScript, SetScriptPrivate,
|
||||
};
|
||||
use js::jsval::{PrivateValue, UndefinedValue};
|
||||
|
@ -2820,6 +2820,7 @@ impl GlobalScope {
|
|||
skipFilenameValidation: false,
|
||||
hideScriptFromDebugger: false,
|
||||
deferDebugMetadata: false,
|
||||
eagerDelazificationStrategy_: DelazificationOption::OnDemandOnly,
|
||||
};
|
||||
let script = InstantiateGlobalStencil(
|
||||
*cx,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue