prop-desc.js (970B)
1 // |reftest| shell-option(--enable-explicit-resource-management) skip-if(!(this.hasOwnProperty('getBuildConfiguration')&&getBuildConfiguration('explicit-resource-management'))||!xulRuntime.shell) -- explicit-resource-management is not enabled unconditionally, requires shell-options 2 // Copyright (C) 2023 Ron Buckton. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 5 /*--- 6 esid: sec-disposablestack-constructor 7 description: > 8 Property descriptor of DisposableStack 9 info: | 10 17 ECMAScript Standard Built-in Objects: 11 12 Every other data property described in clauses 18 through 26 and in Annex B.2 13 has the attributes { [[Writable]]: true, [[Enumerable]]: false, 14 [[Configurable]]: true } unless otherwise specified. 15 includes: [propertyHelper.js] 16 features: [explicit-resource-management] 17 ---*/ 18 19 verifyProperty(this, 'DisposableStack', { 20 enumerable: false, 21 writable: true, 22 configurable: true 23 }); 24 25 reportCompare(0, 0);