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 --- .../built-ins/TypedArrayConstructors/Uint8Array/name.js | 11 ++++++----- .../built-ins/TypedArrayConstructors/Uint8Array/proto.js | 1 + .../TypedArrayConstructors/Uint8Array/prototype/proto.js | 1 + 3 files changed, 8 insertions(+), 5 deletions(-) (limited to 'js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array') diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js index c3b17bdc55..7a40029267 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/name.js @@ -21,10 +21,11 @@ includes: [propertyHelper.js] features: [TypedArray] ---*/ -assert.sameValue(Uint8Array.name, "Uint8Array"); - -verifyNotEnumerable(Uint8Array, "name"); -verifyNotWritable(Uint8Array, "name"); -verifyConfigurable(Uint8Array, "name"); +verifyProperty(Uint8Array, "name", { + value: "Uint8Array", + writable: false, + enumerable: false, + configurable: true +}); reportCompare(0, 0); diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js index 4549c9c5c4..2fa2b3f5f3 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/proto.js @@ -1,3 +1,4 @@ +// |reftest| shell-option(--enable-float16array) // Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. diff --git a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js index 780a41c80d..8e48ff4a01 100644 --- a/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js +++ b/js/src/tests/test262/built-ins/TypedArrayConstructors/Uint8Array/prototype/proto.js @@ -1,3 +1,4 @@ +// |reftest| shell-option(--enable-float16array) // Copyright (C) 2015 André Bargull. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -- cgit v1.2.3