blob: 30e97701a5f69a4ed88fc9ed69cf8f2b31b218e0 (
plain)
1
2
3
4
5
6
|
// Debugger.prototype.addDebuggee should not accept invisible-to-debugger globals.
load(libdir + 'asserts.js');
var g = newGlobal({ invisibleToDebugger: true });
assertThrowsInstanceOf(() => { new Debugger(g); }, TypeError);
|