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 --- .../test262/built-ins/Promise/create-resolving-functions-resolve.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/src/tests/test262/built-ins/Promise/create-resolving-functions-resolve.js') diff --git a/js/src/tests/test262/built-ins/Promise/create-resolving-functions-resolve.js b/js/src/tests/test262/built-ins/Promise/create-resolving-functions-resolve.js index c2c4dc60d2..4460e28fcf 100644 --- a/js/src/tests/test262/built-ins/Promise/create-resolving-functions-resolve.js +++ b/js/src/tests/test262/built-ins/Promise/create-resolving-functions-resolve.js @@ -24,7 +24,7 @@ Promise.prototype.then = function(resolve, reject) { assert.sameValue(isConstructor(resolve), false, 'isConstructor(resolve) must return false'); assert.throws(TypeError, () => { new resolve(); - }, '`new resolve()` throws TypeError'); + }); assert.sameValue(resolve.length, 1, 'The value of resolve.length is 1'); assert.sameValue(resolve.name, '', 'The value of resolve.name is ""'); -- cgit v1.2.3