summaryrefslogtreecommitdiffstats
path: root/devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js')
-rw-r--r--devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js b/devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js
index 1e2d894be3..738e70bc2d 100644
--- a/devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js
+++ b/devtools/shared/commands/resource/tests/browser_resources_last_private_context_exit.js
@@ -66,7 +66,7 @@ add_task(async function () {
});
info("Close the second private window");
- secondPrivateWindow.BrowserTryToCloseWindow();
+ secondPrivateWindow.BrowserCommands.tryToCloseWindow();
// Let a chance to an unexpected async event to be fired
await wait(1000);
@@ -80,7 +80,7 @@ add_task(async function () {
info(
"close the private window and check if LAST_PRIVATE_CONTEXT_EXIT resource is sent"
);
- privateWindow.BrowserTryToCloseWindow();
+ privateWindow.BrowserCommands.tryToCloseWindow();
info("Wait for LAST_PRIVATE_CONTEXT_EXIT");
await waitFor(() => availableResources.length == 1);