summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/FinalizationRegistry
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/tests/test262/built-ins/FinalizationRegistry
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/tests/test262/built-ins/FinalizationRegistry')
-rw-r--r--js/src/tests/test262/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js2
-rw-r--r--js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js
index 12c979cc12..edceeb8d6b 100644
--- a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/cleanupSome/not-a-constructor.js
@@ -30,7 +30,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
let fr = new FinalizationRegistry(() => {}); new fr.cleanupSome(() => {});
-}, '`let fr = new FinalizationRegistry(() => {}); new fr.cleanupSome(() => {})` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js
index f2471782ab..60e16a1df6 100644
--- a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/register/not-a-constructor.js
@@ -30,7 +30,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
let fr = new FinalizationRegistry(() => {}); new fr.register({});
-}, '`let fr = new FinalizationRegistry(() => {}); new fr.register({})` throws TypeError');
+});
reportCompare(0, 0);
diff --git a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
index ea51595556..14ab4862c8 100644
--- a/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
+++ b/js/src/tests/test262/built-ins/FinalizationRegistry/prototype/unregister/not-a-constructor.js
@@ -30,7 +30,7 @@ assert.sameValue(
assert.throws(TypeError, () => {
let fr = new FinalizationRegistry(() => {}); let token = {}; fr.register(token); new fr.unregister(token);
-}, '`let fr = new FinalizationRegistry(() => {}); let token = {}; fr.register(token); new fr.unregister(token)` throws TypeError');
+});
reportCompare(0, 0);