Closed
Bug 2094711
Opened 14 days ago
Closed 5 days ago
test_speech_synthesis.html times out when run twice in the same browser
Categories
(Core :: Privacy: Anti-Tracking, task)
Core
Privacy: Anti-Tracking
Tracking
()
RESOLVED
FIXED
163 Branch
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
Details
Attachments
(1 external file)
browser/components/resistfingerprinting/test/mochitest/test_speech_synthesis.html expects speechSynthesis.getVoices() to be empty when it starts, and waits for a voiceschanged event before it does anything.
A content process only loads its voices the first time it uses speechSynthesis, and keeps them. On a second run in the same process (mochitest-plain-repeat jobs), getVoices() already returns the voices. The check "No voices added initially - got 10, expected +0" fails, voiceschanged never fires, and the test times out.
The fix is for the test to go on directly when the voices are already loaded.
| Assignee | ||
Comment 1•12 days ago
|
||
Pushed by fqueze@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f434de599da7
https://hg.mozilla.org/integration/autoland/rev/4d7ebc9d7cb7
Don't wait for voiceschanged in test_speech_synthesis.html when the voices are already loaded, r=manuel.
Comment 3•5 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
status-firefox163:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•