blob: 30e97701a5f69a4ed88fc9ed69cf8f2b31b218e0 [file] [log] [blame]
// Debugger.prototype.addDebuggee should not accept invisible-to-debugger globals.
load(libdir + 'asserts.js');
var g = newGlobal({ invisibleToDebugger: true });
assertThrowsInstanceOf(() => { new Debugger(g); }, TypeError);