tor-browser

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

S15.1.3.1_A5.3.js (616B)


      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: The length property of decodeURI has the attribute ReadOnly
      6 esid: sec-decodeuri-encodeduri
      7 description: Checking if varying the length property fails
      8 includes: [propertyHelper.js]
      9 ---*/
     10 
     11 //CHECK#1
     12 var x = decodeURI.length;
     13 verifyNotWritable(decodeURI, "length", null, Infinity);
     14 if (decodeURI.length !== x) {
     15  throw new Test262Error('#1: x = decodeURI.length; decodeURI.length = Infinity; decodeURI.length === x. Actual: ' + (decodeURI.length));
     16 }
     17 
     18 reportCompare(0, 0);