browser_dbg-breakpoint-skipping-console.js (613B)
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 /* 6 * Test that debugger statements are skipped when 7 * skip pausing is enabled. 8 */ 9 10 "use strict"; 11 12 add_task(async function () { 13 const toolbox = await initPane("doc-scripts.html", "webconsole", [ 14 ["devtools.debugger.skip-pausing", true], 15 ]); 16 await navigateTo(`${EXAMPLE_URL}doc-debugger-statements.html`); 17 18 await hasConsoleMessage({ toolbox }, "done!"); 19 ok(true, "We reached the end"); 20 });