js/src/jit-test/tests/debug/Script-02.js@4ab42b5ab56c
js/src/jit-test/tests/debug/Script-02.js
Wed, 31 Dec 2014 07:53:36 +0100
- author
- Michael Schloh von Bennewitz <michael@schloh.com>
- date
- Wed, 31 Dec 2014 07:53:36 +0100
- branch
- TOR_BUG_3246
- changeset 5
- 4ab42b5ab56c
- permissions
- -rw-r--r--
Correct small whitespace inconsistency, lost while renaming variables.
2 // Debugger.Script throws when applied as a constructor.
4 load(libdir + 'asserts.js');
6 assertThrowsInstanceOf(function() { Debugger.Script(); }, TypeError);
7 assertThrowsInstanceOf(function() { new Debugger.Script(); }, TypeError);