diff --git a/tests/scriptlets/abort-on-stack-trace.test.js b/tests/scriptlets/abort-on-stack-trace.test.js index f70c4fd40..9e1336fdc 100644 --- a/tests/scriptlets/abort-on-stack-trace.test.js +++ b/tests/scriptlets/abort-on-stack-trace.test.js @@ -364,7 +364,7 @@ test('abort Math.max in injected script, but not abort inline script', (assert) // set window.testPassed to true if script is aborted // eslint-disable-next-line max-len scriptElement.innerText = `try { - debugger; Math.max(10, 20); + Math.max(10, 20); } catch(error) { window.testPassed = true; console.log("Script aborted:", error); }`;