tor-browser

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

S15.7.3.3_A3.js (562B)


      1 // Copyright 2009 the Sputnik authors.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 info: Number.MIN_VALUE is DontDelete
      6 es5id: 15.7.3.3_A3
      7 description: Checking if deleting Number.MIN_VALUE fails
      8 includes: [propertyHelper.js]
      9 ---*/
     10 
     11 verifyNotConfigurable(Number, "MIN_VALUE");
     12 
     13 try {
     14  assert.sameValue(delete Number.MIN_VALUE, false);
     15 } catch (e) {
     16  if (e instanceof Test262Error) {
     17    throw e;
     18  }
     19  assert(e instanceof TypeError);
     20 }
     21 
     22 // TODO: Convert to verifyProperty() format.
     23 
     24 reportCompare(0, 0);