Closed Bug 2094729 Opened 10 days ago Closed 5 days ago

dom/indexedDB/test/test_event_propagation.html times out when run twice in the same profile

Categories

(Core :: Storage: IndexedDB, task)

task

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox163 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 external file)

When dom/indexedDB/test/test_event_propagation.html runs twice in a row (the upcoming mochitest-plain-repeat jobs), the second run times out and reports "No checks actually run".

event_propagation_iframe.html opens a database at version 1 and only proceeds from onupgradeneeded, but never deletes it. On the second run the database already exists at version 1, so the open request only fires success, which nothing listens for.

The patch makes the iframe close its connection and delete its database before calling SimpleTest.finish().

Blocks: 2095794

The database left behind by a previous run already has version 1, so the next run gets no upgradeneeded event and times out.

Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/fe96d854624b https://hg.mozilla.org/integration/autoland/rev/6d3ca46a7d0a Delete the database at the end of test_event_propagation.html, r=dom-storage-reviewers,asuth.
Status: ASSIGNED → RESOLVED
Closed: 5 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: