comparison: js/src/jit-test/tests/debug/Script-02.js
js/src/jit-test/tests/debug/Script-02.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // |jit-test| debug |
|
2 // Debugger.Script throws when applied as a constructor. |
|
3 |
|
4 load(libdir + 'asserts.js'); |
|
5 |
|
6 assertThrowsInstanceOf(function() { Debugger.Script(); }, TypeError); |
|
7 assertThrowsInstanceOf(function() { new Debugger.Script(); }, TypeError); |