diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:03:13 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-17 09:03:13 +0000 |
commit | 0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365 (patch) | |
tree | 1437375a1c16af40bb2982577c25eb9608e17566 /devtools/startup/tests/browser | |
parent | Adding debian version 115.11.0esr-1~deb12u1. (diff) | |
download | firefox-esr-0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365.tar.xz firefox-esr-0681b3ac9a6ab4879ca2fbfcf8aa9d00a67b8365.zip |
Merging upstream version 115.12.0esr.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'devtools/startup/tests/browser')
-rw-r--r-- | devtools/startup/tests/browser/browser_command_line_urls.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/devtools/startup/tests/browser/browser_command_line_urls.js b/devtools/startup/tests/browser/browser_command_line_urls.js index e435d08406..99c5214eac 100644 --- a/devtools/startup/tests/browser/browser_command_line_urls.js +++ b/devtools/startup/tests/browser/browser_command_line_urls.js @@ -93,6 +93,9 @@ add_task(async function openingWithDevToolsButUnknownSource() { ); await SpecialPowers.spawn(gBrowser.selectedBrowser, [], async function () { + // View source may not have updated the selection just yet + ContentTaskUtils.waitForCondition(() => !!content.getSelection()); + const selection = content.getSelection(); Assert.equal( selection.toString(), |