aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/js
diff options
context:
space:
mode:
authorSamson <16504129+sagudev@users.noreply.github.com>2024-07-29 09:20:15 +0200
committerGitHub <noreply@github.com>2024-07-29 07:20:15 +0000
commitd132a0273d17a140a916bb4c73cdb1d81fee1d2d (patch)
treeff8e2dd72e0d91d6891e7e4a4147d8f111091d08 /tests/wpt/meta/js
parented8def28960fd64fa0d00bd67731d594c1042747 (diff)
downloadservo-d132a0273d17a140a916bb4c73cdb1d81fee1d2d.tar.gz
servo-d132a0273d17a140a916bb4c73cdb1d81fee1d2d.zip
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>
Diffstat (limited to 'tests/wpt/meta/js')
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.js.ini2
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini3
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini7
-rw-r--r--tests/wpt/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini7
10 files changed, 42 insertions, 19 deletions
diff --git a/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini
index b8a231b14bf..d45ab6425c1 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-reference.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini
index 4fc93faaf3d..8fa0c8a23e5 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/cleanup-prevented-with-unregister.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini
index 9af0aa8e510..5249b0cab44 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-gets-a-microtask.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.js.ini b/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.js.ini
deleted file mode 100644
index addeb13d5f1..00000000000
--- a/tests/wpt/meta/js/builtins/weakrefs/finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.js.ini
+++ /dev/null
@@ -1,2 +0,0 @@
-[finalizationregistry-cleanupCallback-throws-onerror-interaction.optional.window.html]
- expected: ERROR
diff --git a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini
index 7479a168882..830562371e9 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotask.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini
index 66b935a312d..a97669dd26c 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback-queueMicrotaskMutationObserver.optional.window.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini
index 481060a9e16..d87b3100399 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/gc-has-one-chance-to-call-cleanupCallback.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini
index d4990b12ddf..3c206ec3b14 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/reentrancy.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini
index 94bfc185df9..f0d89845e28 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/return-undefined-with-gc.optional.any.js.ini
@@ -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
diff --git a/tests/wpt/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini b/tests/wpt/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini
index 4ebd816db1f..1971a5de17d 100644
--- a/tests/wpt/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini
+++ b/tests/wpt/meta/js/builtins/weakrefs/unregister-cleaned-up-cell.optional.any.js.ini
@@ -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