js/src/jit-test/tests/generators/throw-on-finished.js

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial