blob: d3231b6e15792fd32c9196e2550b86d19a23462b (
plain)
1
2
3
4
5
6
|
var g = newGlobal({newCompartment: true});
var dbg = new Debugger();
var gw = dbg.addDebuggee(g);
oomTest(function () {
assertEq(gw.executeInGlobal("(42).toString(0)").throw.errorMessageName, "JSMSG_BAD_RADIX");
});
|