Sign in
cobalt
/
cobalt
/
c73ce7d5dfce7ae20bcc30efc5f220e0fbac12b1
/
.
/
src
/
third_party
/
mozjs-45
/
js
/
src
/
jit-test
/
tests
/
debug
/
Script-02.js
blob: 071dc465aece1625d85b18ffb290241f73c25f01 [
file
] [
log
] [
blame
]
// Debugger.Script throws when applied as a constructor.
load
(
libdir
+
'asserts.js'
);
assertThrowsInstanceOf
(
function
()
{
Debugger
.
Script
();
},
TypeError
);
assertThrowsInstanceOf
(
function
()
{
new
Debugger
.
Script
();
},
TypeError
);