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