tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

15.2.3.6-4-313.js (769B)


      1 // Copyright (c) 2012 Ecma International.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 es5id: 15.2.3.6-4-313
      6 description: >
      7    Object.defineProperty - 'O' is an Arguments object, 'P' is generic
      8    property, and 'desc' is data descriptor, test 'P' is defined in
      9    'O' with all correct attribute values (10.6 [[DefineOwnProperty]]
     10    step 3)
     11 includes: [propertyHelper.js]
     12 ---*/
     13 
     14 (function() {
     15  Object.defineProperty(arguments, "genericProperty", {
     16    value: 1001,
     17    writable: true,
     18    enumerable: true,
     19    configurable: true
     20  });
     21 
     22  verifyProperty(arguments, "genericProperty", {
     23    value: 1001,
     24    writable: true,
     25    enumerable: true,
     26    configurable: true,
     27  });
     28 }(1, 2, 3));
     29 
     30 reportCompare(0, 0);