Closed Bug 2094724 Opened 9 days ago Closed 4 days ago

test_bug1699721.html times out when run twice in the same browser

Categories

(Core :: DOM: Navigation, task)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

docshell/test/navigation/test_bug1699721.html waits for an http-on-examine-response notification for file_tell_opener.html before it lets the popup's unload handler finish. When the test runs a second time in the same browser (the upcoming mochitest-plain-repeat jobs, or --verify), that page comes from the HTTP cache, so only http-on-examine-cached-response is notified. The test then times out.

The patch makes the test observe both topics and removes the verify-standalone skip, which was added for the same failure in bug 1995208.

Blocks: 2095794

When the test runs again in the same browser, file_tell_opener.html comes from the HTTP cache, so http-on-examine-response never fires and the test times out. This is also why the test was skipped on verify-standalone (bug 1995208).

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/ddae1979ca8a https://hg.mozilla.org/integration/autoland/rev/1ad3edb645a7 Also observe http-on-examine-cached-response in test_bug1699721.html, r=dom-core-reviewers,smaug.
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0196ca6ea599 https://hg.mozilla.org/integration/autoland/rev/4a2154fb4d2e Also observe http-on-examine-cached-response in test_bug1699721.html, r=dom-core-reviewers,smaug.
Status: ASSIGNED → RESOLVED
Closed: 4 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: