diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 01:13:27 +0000 |
commit | 40a355a42d4a9444dc753c04c6608dade2f06a23 (patch) | |
tree | 871fc667d2de662f171103ce5ec067014ef85e61 /remote/cdp/test/browser/browser_httpd.js | |
parent | Adding upstream version 124.0.1. (diff) | |
download | firefox-upstream/125.0.1.tar.xz firefox-upstream/125.0.1.zip |
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'remote/cdp/test/browser/browser_httpd.js')
-rw-r--r-- | remote/cdp/test/browser/browser_httpd.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remote/cdp/test/browser/browser_httpd.js b/remote/cdp/test/browser/browser_httpd.js index fb74ae8b70..f3d7b6581f 100644 --- a/remote/cdp/test/browser/browser_httpd.js +++ b/remote/cdp/test/browser/browser_httpd.js @@ -188,7 +188,7 @@ add_task(async function json_activate_target({ client, tab }) { is(invalidResponse, "No such target id: does-not-exist"); }); -add_task(async function json_close_target({ CDP, client, tab }) { +add_task(async function json_close_target({ CDP, client }) { const { Target } = client; const { targetInfo, newTab } = await openTab(Target); @@ -224,7 +224,7 @@ add_task(async function json_close_target({ CDP, client, tab }) { target => target.id === targetInfo.targetId ); - ok(afterTarget == null, "New target is gone"); + Assert.equal(afterTarget, null, "New target is gone"); const invalidResponse = await requestJSON("/json/close/does-not-exist", { status: 404, |