length.js (688B)
1 // |reftest| skip module -- source-phase-imports is not supported 2 // Copyright (C) 2024 Chengzhong Wu. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 esid: sec-properties-of-the-%abstractmodulesource%25-intrinsic-object 6 description: > 7 %AbstractModuleSource%.length property descriptor 8 info: | 9 28.1.1.1 %AbstractModuleSource% ( ) 10 11 includes: [propertyHelper.js] 12 features: [source-phase-imports] 13 flags: [module] 14 ---*/ 15 16 assert.sameValue(typeof $262.AbstractModuleSource, 'function'); 17 verifyProperty($262.AbstractModuleSource, 'length', { 18 value: 0, 19 writable: false, 20 enumerable: false, 21 configurable: true 22 }); 23 24 reportCompare(0, 0);