comparison: js/src/jit-test/tests/debug/Script-02.js
js/src/jit-test/tests/debug/Script-02.js
- branch
- TOR_BUG_9701
- changeset 15
- b8a032363ba2
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); |