From fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:14:29 +0200 Subject: Merging upstream version 125.0.1. Signed-off-by: Daniel Baumann --- remote/cdp/test/browser/target/browser_activateTarget.js | 4 ++-- remote/cdp/test/browser/target/browser_attachToTarget.js | 4 ++-- remote/cdp/test/browser/target/browser_closeTarget.js | 6 +++--- remote/cdp/test/browser/target/browser_targetDestroyed.js | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'remote/cdp/test/browser/target') diff --git a/remote/cdp/test/browser/target/browser_activateTarget.js b/remote/cdp/test/browser/target/browser_activateTarget.js index 03c5a96e07..9f4762dfae 100644 --- a/remote/cdp/test/browser/target/browser_activateTarget.js +++ b/remote/cdp/test/browser/target/browser_activateTarget.js @@ -3,7 +3,7 @@ "use strict"; -add_task(async function raisesWithoutArguments({ client, tab }) { +add_task(async function raisesWithoutArguments({ client }) { const { Target } = client; await Assert.rejects( @@ -13,7 +13,7 @@ add_task(async function raisesWithoutArguments({ client, tab }) { ); }); -add_task(async function raisesWithUnknownTargetId({ client, tab }) { +add_task(async function raisesWithUnknownTargetId({ client }) { const { Target } = client; await Assert.rejects( diff --git a/remote/cdp/test/browser/target/browser_attachToTarget.js b/remote/cdp/test/browser/target/browser_attachToTarget.js index 944d7a9984..2ffebc15a9 100644 --- a/remote/cdp/test/browser/target/browser_attachToTarget.js +++ b/remote/cdp/test/browser/target/browser_attachToTarget.js @@ -3,7 +3,7 @@ "use strict"; -add_task(async function raisesWithoutArguments({ client, tab }) { +add_task(async function raisesWithoutArguments({ client }) { const { Target } = client; await Assert.rejects( @@ -13,7 +13,7 @@ add_task(async function raisesWithoutArguments({ client, tab }) { ); }); -add_task(async function raisesWithUnknownTargetId({ client, tab }) { +add_task(async function raisesWithUnknownTargetId({ client }) { const { Target } = client; await Assert.rejects( diff --git a/remote/cdp/test/browser/target/browser_closeTarget.js b/remote/cdp/test/browser/target/browser_closeTarget.js index 694994148b..b1a980b8e0 100644 --- a/remote/cdp/test/browser/target/browser_closeTarget.js +++ b/remote/cdp/test/browser/target/browser_closeTarget.js @@ -3,7 +3,7 @@ "use strict"; -add_task(async function raisesWithoutArguments({ client, tab }) { +add_task(async function raisesWithoutArguments({ client }) { const { Target } = client; await Assert.rejects( @@ -13,7 +13,7 @@ add_task(async function raisesWithoutArguments({ client, tab }) { ); }); -add_task(async function raisesWithUnknownTargetId({ client, tab }) { +add_task(async function raisesWithUnknownTargetId({ client }) { const { Target } = client; await Assert.rejects( @@ -23,7 +23,7 @@ add_task(async function raisesWithUnknownTargetId({ client, tab }) { ); }); -add_task(async function triggersTargetDestroyed({ client, tab }) { +add_task(async function triggersTargetDestroyed({ client }) { const { Target } = client; const { targetInfo, newTab } = await openTab(Target); diff --git a/remote/cdp/test/browser/target/browser_targetDestroyed.js b/remote/cdp/test/browser/target/browser_targetDestroyed.js index 2ad657b135..6668787ddc 100644 --- a/remote/cdp/test/browser/target/browser_targetDestroyed.js +++ b/remote/cdp/test/browser/target/browser_targetDestroyed.js @@ -3,7 +3,7 @@ "use strict"; -add_task(async function eventFiredWhenTabIsClosed({ client, tab }) { +add_task(async function eventFiredWhenTabIsClosed({ client }) { const { Target } = client; const { newTab } = await openTab(Target); -- cgit v1.2.3