mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update mozjs (SpiderMonkey) to 128.0 (#32769)
* Update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix changed readTransfer callback https://bugzilla.mozilla.org/show_bug.cgi?id=1842713 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Use NewExternalArrayBuffer from glue https://github.com/servo/mozjs/pull/474/commits/d33454be74ec5b8d8faf51fab3ed477b8913898b Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix columnorigin and filename being in latin1 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * fixup newexternalarray Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Float16 (this might require more work for codegen support) https://bugzilla.mozilla.org/show_bug.cgi?id=1833647 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * js.strict is removed https://bugzilla.mozilla.org/show_bug.cgi?id=1621603 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * asm options are now somewhere else https://hg.mozilla.org/mozilla-central/rev/26045c88e3972957087d535e7f259e08857bd2a2 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Comment out offthread compilation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Set NDK to 26 Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Fix 1-origin handling Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Expect `FinalizationRegistry` interface Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Good expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * more expectations Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Add `WeakRef` to interfaces expectation Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * mozjs upgrade: fixes for Android Android NDK's layout has changed in r26 and 'lib64' no longer exists under `toolchain/llvm/prebuilt/linux-x86_64`. The libraries that used to be it are now present in `lib` folder itself. This patch updates the build configuration to use the `lib` folder instead when configuring the LIBCLANG_PATH environment variable. This patch also updates to a newer mozjs version that includes fixes for linker errors faced on Android (see #32769). Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Patch libz-sys & update mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * update NDK version in README Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> * Use servo/mozjs Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> * Update mozjs again Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> --------- Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
This commit is contained in:
parent
ed8def2896
commit
d132a0273d
41 changed files with 524 additions and 240 deletions
|
@ -1,3 +0,0 @@
|
|||
[cross-origin-transfer-resizable-arraybuffer.html]
|
||||
[postMessaging resizable ArrayBuffer to OOPIF]
|
||||
expected: FAIL
|
|
@ -11,39 +11,9 @@
|
|||
[Object with a getter that throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Growable SharedArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[messagechannel.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
@ -109,35 +79,5 @@
|
|||
[Object with a getter that throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Growable SharedArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
|
|
@ -56,35 +56,5 @@
|
|||
[Object with a getter that throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Growable SharedArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[instantiation-error-3.html]
|
||||
[Test that unresolvable cycles lead to SyntaxError events on window and load events on script]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[instantiation-error-4.html]
|
||||
[Test that loading a graph in which a module is already errored results in an error.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[instantiation-error-5.html]
|
||||
[Test that loading a graph in which a module is already errored results an error.]
|
||||
expected: FAIL
|
|
@ -1,5 +1,8 @@
|
|||
[cleanup-prevented-with-reference.optional.any.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cleanup-prevented-with-reference.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[cleanup-prevented-with-unregister.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[Cleanup might be prevented with an unregister usage]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[cleanup-prevented-with-unregister.optional.any.html]
|
||||
expected: ERROR
|
||||
[Cleanup might be prevented with an unregister usage]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[HostCleanupFinalizationRegistry is an implementation-defined abstract operation that is expected to call CleanupFinalizationRegistry(finalizationRegistry) at some point in the future, if possible.]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.html]
|
||||
expected: ERROR
|
||||
[HostCleanupFinalizationRegistry is an implementation-defined abstract operation that is expected to call CleanupFinalizationRegistry(finalizationRegistry) at some point in the future, if possible.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.html]
|
||||
expected: ERROR
|
|
@ -1,5 +1,8 @@
|
|||
[gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
[gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[gc-has-one-chance-to-call-cleanupCallback.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[gc-has-one-chance-to-call-cleanupCallback.optional.any.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[reentrancy.optional.any.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[reentrancy.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[cleanupCallback has only one optional chance to be called for a GC that cleans up a registered target.]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[return-undefined-with-gc.optional.any.html]
|
||||
expected: ERROR
|
||||
[Return undefined regardless the result of CleanupFinalizationRegistry]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[return-undefined-with-gc.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[Return undefined regardless the result of CleanupFinalizationRegistry]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
[unregister-cleaned-up-cell.optional.any.html]
|
||||
expected: ERROR
|
||||
[Cannot unregister a cell that has been cleaned up]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[unregister-cleaned-up-cell.optional.any.worker.html]
|
||||
expected: ERROR
|
||||
[Cannot unregister a cell that has been cleaned up]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
[casts.tentative.any.worker.html]
|
||||
expected: ERROR
|
||||
|
||||
[casts.tentative.any.html]
|
||||
expected: ERROR
|
|
@ -1,5 +0,0 @@
|
|||
[exported-object.tentative.any.worker.html]
|
||||
expected: ERROR
|
||||
|
||||
[exported-object.tentative.any.html]
|
||||
expected: ERROR
|
|
@ -1,5 +0,0 @@
|
|||
[i31.tentative.any.html]
|
||||
expected: ERROR
|
||||
|
||||
[i31.tentative.any.worker.html]
|
||||
expected: ERROR
|
|
@ -1,8 +1,10 @@
|
|||
[garbage-collected.tentative.any.html]
|
||||
expected: TIMEOUT
|
||||
[Entangled port is garbage collected, and the close event is fired.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[garbage-collected.tentative.any.worker.html]
|
||||
expected: TIMEOUT
|
||||
[Entangled port is garbage collected, and the close event is fired.]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -53,38 +53,8 @@
|
|||
[A subclass instance will deserialize as its closest serializable superclass]
|
||||
expected: FAIL
|
||||
|
||||
[Resizable ArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Growable SharedArrayBuffer]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Serializing OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
||||
[A subclass instance will be received as its closest transferable superclass]
|
||||
expected: PRECONDITION_FAILED
|
||||
|
||||
[Resizable ArrayBuffer is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking TypedArray is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Length-tracking DataView is transferable]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB TypedArray throws]
|
||||
expected: FAIL
|
||||
|
||||
[Transferring OOB DataView throws]
|
||||
expected: FAIL
|
||||
|
|
4
tests/wpt/mozilla/meta/MANIFEST.json
vendored
4
tests/wpt/mozilla/meta/MANIFEST.json
vendored
|
@ -10500,7 +10500,7 @@
|
|||
[]
|
||||
],
|
||||
"interfaces.js": [
|
||||
"e37397aa973f5fb913e5b8097945368c2848bed8",
|
||||
"8e67ede99ce211fb6fe7891a103e2da9c774cc53",
|
||||
[]
|
||||
],
|
||||
"nested_asap_script.js": [
|
||||
|
@ -13441,7 +13441,7 @@
|
|||
]
|
||||
],
|
||||
"interfaces.worker.js": [
|
||||
"2f048af52b8f807c24cf2b9f6d68e42f1eab2abd",
|
||||
"b1c7b7e9c5c2f21eafdcd27eafe589e654260628",
|
||||
[
|
||||
"mozilla/interfaces.worker.html",
|
||||
{}
|
||||
|
|
|
@ -18,6 +18,7 @@ function test_interfaces(interfaceNamesInGlobalScope) {
|
|||
"Date",
|
||||
"Error",
|
||||
"EvalError",
|
||||
"FinalizationRegistry",
|
||||
"Float32Array",
|
||||
"Float64Array",
|
||||
"Function",
|
||||
|
@ -54,6 +55,7 @@ function test_interfaces(interfaceNamesInGlobalScope) {
|
|||
"Uint8Array",
|
||||
"Uint8ClampedArray",
|
||||
"WeakMap",
|
||||
"WeakRef",
|
||||
"WeakSet",
|
||||
"WebAssembly",
|
||||
];
|
||||
|
|
|
@ -33,6 +33,7 @@ test_interfaces([
|
|||
"FileList",
|
||||
"FileReader",
|
||||
"FileReaderSync",
|
||||
"FinalizationRegistry",
|
||||
"FontFaceSet",
|
||||
"FormData",
|
||||
"Headers",
|
||||
|
@ -59,6 +60,7 @@ test_interfaces([
|
|||
"URL",
|
||||
"URLSearchParams",
|
||||
"WebSocket",
|
||||
"WeakRef",
|
||||
"Worker",
|
||||
"WorkerGlobalScope",
|
||||
"WorkerLocation",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue