Bug 1885337 - Part 3: Import tests from test262 PR. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / prs / 3994 / built-ins / Uint8Array / fromHex / descriptor.js
blob3d536520549104f7cf5d73f595a31ddf21cf5f46
1 // |reftest| shell-option(--enable-uint8array-base64) skip-if(!Uint8Array.fromBase64||!xulRuntime.shell) -- uint8array-base64 is not enabled unconditionally, requires shell-options
2 // Copyright (C) 2024 Kevin Gibbons. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-uint8array.fromhex
6 description: >
7   Uint8Array.fromHex has default data property attributes.
8 includes: [propertyHelper.js]
9 features: [uint8array-base64, TypedArray]
10 ---*/
12 verifyProperty(Uint8Array, 'fromHex', {
13   enumerable: false,
14   writable: true,
15   configurable: true
16 });
18 reportCompare(0, 0);