js/src/jit-test/tests/debug/Frame-eval-02.js@4ab42b5ab56c
js/src/jit-test/tests/debug/Frame-eval-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.
1 // frame.eval() throws if frame is not live
3 load(libdir + "asserts.js");
6 var dbg = new Debugger(g);
8 dbg.onDebuggerStatement = function (frame) { f = frame; };
10 assertThrowsInstanceOf(function () { f.eval("2 + 2"); }, Error);