tor-browser

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

throw-on-finished.js (170B)


      1 load(libdir + "asserts.js");
      2 
      3 function*g(){ };
      4 o = g();
      5 o.next();
      6 function TestException() {};
      7 assertThrowsInstanceOf(() => o.throw(new TestException()), TestException);