tor-browser

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

proto.js (542B)


      1 // |reftest| skip-if(!this.hasOwnProperty('AsyncIterator')) -- AsyncIterator is not enabled unconditionally
      2 /*---
      3  The prototype of the AsyncIterator constructor is the intrinsic object %FunctionPrototype%.
      4 ---*/
      5 
      6 assertEq(Object.getPrototypeOf(AsyncIterator), Function.prototype);
      7 
      8 const propDesc = Reflect.getOwnPropertyDescriptor(AsyncIterator, 'prototype');
      9 assertEq(propDesc.writable, false);
     10 assertEq(propDesc.enumerable, false);
     11 assertEq(propDesc.configurable, false);
     12 
     13 if (typeof reportCompare === 'function')
     14  reportCompare(0, 0);