tor-browser

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

S15.7.3.3_A2.js (548B)


      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 ReadOnly
      6 es5id: 15.7.3.3_A2
      7 description: Checking if varying Number.MIN_VALUE fails
      8 includes: [propertyHelper.js]
      9 ---*/
     10 
     11 // CHECK#1
     12 var x = Number.MIN_VALUE;
     13 verifyNotWritable(Number, "MIN_VALUE", null, 1);
     14 assert.sameValue(Number.MIN_VALUE, x, 'The value of Number.MIN_VALUE is expected to equal the value of x');
     15 
     16 // TODO: Convert to verifyProperty() format.
     17 
     18 reportCompare(0, 0);