summaryrefslogtreecommitdiffstats
path: root/remote/cdp/test/browser/runtime/browser_exceptionThrown.js
diff options
context:
space:
mode:
Diffstat (limited to 'remote/cdp/test/browser/runtime/browser_exceptionThrown.js')
-rw-r--r--remote/cdp/test/browser/runtime/browser_exceptionThrown.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/remote/cdp/test/browser/runtime/browser_exceptionThrown.js b/remote/cdp/test/browser/runtime/browser_exceptionThrown.js
index 23e6dc2de9..ad46ae25a9 100644
--- a/remote/cdp/test/browser/runtime/browser_exceptionThrown.js
+++ b/remote/cdp/test/browser/runtime/browser_exceptionThrown.js
@@ -76,12 +76,7 @@ add_task(async function eventsForScriptErrorWithException({ client }) {
is(callFrames[1].url, PAGE_CONSOLE_EVENTS, "Got expected url");
});
-async function runExceptionThrownTest(
- client,
- eventCount,
- callback,
- options = {}
-) {
+async function runExceptionThrownTest(client, eventCount, callback) {
const { Runtime } = client;
const EVENT_EXCEPTION_THROWN = "Runtime.exceptionThrown";