tor-browser

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

browser_console_and_breakpoints.js (572B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 // Verify that breakpoints don't impact the browser console
      6 
      7 "use strict";
      8 
      9 add_task(async function () {
     10  await BrowserConsoleManager.toggleBrowserConsole();
     11 
     12  // Bug 1687657, if the thread actor is attached or set up for breakpoints,
     13  // the test will freeze here, by the browser console's thread actor.
     14  // eslint-disable-next-line no-debugger
     15  debugger;
     16 });