js/src/jit-test/tests/debug/Object-defineProperty-surfaces-01.js@4ab42b5ab56c
js/src/jit-test/tests/debug/Object-defineProperty-surfaces-01.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 // Debugger.Object.prototype.defineProperty with too few arguments throws.
3 load(libdir + "asserts.js");
6 var dbg = new Debugger;
7 var gw = dbg.addDebuggee(g);
8 assertThrowsInstanceOf(function () { gw.defineProperty("x"); }, TypeError);