Update mozjs to a version that includes SpiderMonkey ESR 115 (#30379)

* Update mozjs to sm115

* fix module stuff

https://phabricator.services.mozilla.com/D163949

* fix always allow cloning

https://bugzilla.mozilla.org/show_bug.cgi?id=1774866

* Update expectations

toStringTag now works on wasm object due to SM bump
This commit is contained in:
Samson 2023-09-20 18:07:38 +02:00 committed by GitHub
parent c2502120cf
commit c9b1f35a36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 35 additions and 93 deletions

View file

@ -304,7 +304,6 @@ pub fn write(
let policy = CloneDataPolicy {
allowIntraClusterClonableSharedObjects_: false,
allowSharedMemoryObjects_: false,
allowErrorStackFrames_: false,
};
let result = JS_WriteStructuredClone(
*cx,
@ -381,7 +380,6 @@ pub fn read(
&CloneDataPolicy {
allowIntraClusterClonableSharedObjects_: false,
allowSharedMemoryObjects_: false,
allowErrorStackFrames_: false,
},
&STRUCTURED_CLONE_CALLBACKS,
sc_holder_ptr as *mut raw::c_void,