From 40a355a42d4a9444dc753c04c6608dade2f06a23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:13:27 +0200 Subject: Adding upstream version 125.0.1. Signed-off-by: Daniel Baumann --- remote/cdp/test/browser/log/browser_entryAdded.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote/cdp/test/browser/log') diff --git a/remote/cdp/test/browser/log/browser_entryAdded.js b/remote/cdp/test/browser/log/browser_entryAdded.js index 1c6ba2e0a8..7eb85a4e49 100644 --- a/remote/cdp/test/browser/log/browser_entryAdded.js +++ b/remote/cdp/test/browser/log/browser_entryAdded.js @@ -100,7 +100,7 @@ add_task(async function eventsForScriptErrorContent({ client }) { is(events[0].lineNumber, 2, "Got expected line number"); }); -async function runEntryAddedTest(client, eventCount, callback, options = {}) { +async function runEntryAddedTest(client, eventCount, callback) { const { Log } = client; const EVENT_ENTRY_ADDED = "Log.entryAdded"; @@ -109,7 +109,7 @@ async function runEntryAddedTest(client, eventCount, callback, options = {}) { history.addRecorder({ event: Log.entryAdded, eventName: EVENT_ENTRY_ADDED, - messageFn: payload => `Received "${EVENT_ENTRY_ADDED}"`, + messageFn: () => `Received "${EVENT_ENTRY_ADDED}"`, }); const timeBefore = Date.now(); -- cgit v1.2.3