blob: 5bbea9122fdf444fb6a9b7a74b0efb9a626dacf1 (
plain)
1
2
3
4
5
6
7
8
|
// Debugger.Object.prototype.defineProperty with too few arguments throws.
load(libdir + "asserts.js");
var g = newGlobal();
var dbg = new Debugger;
var gw = dbg.addDebuggee(g);
assertThrowsInstanceOf(function () { gw.defineProperty("x"); }, TypeError);
|