Sign in
cobalt
/
cobalt
/
308ed6b84664d59944cd65f4b4359c28a2443be6
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
generators
/
throw-on-finished.js
blob: 541e48f1f08c81f257b72c07b189ff4570f91f7b [
file
] [
log
] [
blame
]
load
(
libdir
+
"asserts.js"
);
function
*
g
(){
};
o
=
g
();
o
.
next
();
function
TestException
()
{};
assertThrowsInstanceOf
(()
=>
o
.
throw
(
new
TestException
()),
TestException
);