tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

bug1688622-createSource.js (249B)


      1 // Test calling createSource on a non-debuggee global.
      2 for (const global of Debugger().findAllGlobals()) {
      3    try {
      4        global.createSource(13);
      5    } catch (e) {
      6        assertEq(e.message, "Debugger.Object is not a debuggee global");
      7    }
      8 }