From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- .../annexB/built-ins/Date/prototype/getYear/not-a-constructor.js | 2 +- .../annexB/built-ins/Date/prototype/setYear/not-a-constructor.js | 2 +- .../annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'js/src/tests/test262/annexB/built-ins/Date') diff --git a/js/src/tests/test262/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js b/js/src/tests/test262/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js index a3936a335e..5e62df950e 100644 --- a/js/src/tests/test262/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js +++ b/js/src/tests/test262/annexB/built-ins/Date/prototype/getYear/not-a-constructor.js @@ -28,7 +28,7 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.getYear(); -}, '`let date = new Date(Date.now()); new date.getYear()` throws TypeError'); +}); reportCompare(0, 0); diff --git a/js/src/tests/test262/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js b/js/src/tests/test262/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js index 906214fde4..b984983549 100644 --- a/js/src/tests/test262/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js +++ b/js/src/tests/test262/annexB/built-ins/Date/prototype/setYear/not-a-constructor.js @@ -28,7 +28,7 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.setYear(); -}, '`let date = new Date(Date.now()); new date.setYear()` throws TypeError'); +}); reportCompare(0, 0); diff --git a/js/src/tests/test262/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js b/js/src/tests/test262/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js index bb6c5f412f..1ee58ec5ae 100644 --- a/js/src/tests/test262/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js +++ b/js/src/tests/test262/annexB/built-ins/Date/prototype/toGMTString/not-a-constructor.js @@ -28,7 +28,7 @@ assert.sameValue( assert.throws(TypeError, () => { let date = new Date(Date.now()); new date.toGMTString(); -}, '`let date = new Date(Date.now()); new date.toGMTString()` throws TypeError'); +}); reportCompare(0, 0); -- cgit v1.2.3