tor-browser

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

arguments-caller.js (417B)


      1 // Copyright (c) 2016 Kevin Gibbons.  All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 
      4 /*---
      5 esid: sec-arguments-exotic-objects
      6 description: arguments.caller does not exist
      7 ---*/
      8 
      9 function getArguments() {
     10  return arguments;
     11 }
     12 assert.sameValue(Object.getOwnPropertyDescriptor(getArguments(), 'caller'), undefined, 'arguments.caller does not exist');
     13 
     14 reportCompare(0, 0);