length.js (535B)
1 // |reftest| skip-if(!Uint8Array.fromBase64) -- uint8array-base64 is not enabled unconditionally 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.length is 1. 8 includes: [propertyHelper.js] 9 features: [uint8array-base64, TypedArray] 10 ---*/ 11 12 verifyProperty(Uint8Array.fromHex, 'length', { 13 value: 1, 14 enumerable: false, 15 writable: false, 16 configurable: true 17 }); 18 19 reportCompare(0, 0);