[fission] test_autoplay_policy_activation.html fails with fission enabled
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox72 | --- | fixed |
People
(Reporter: jya, Assigned: alwu)
References
Details
Attachments
(3 files)
Please adjust priority as needed -- I'm not particularly familiar with this domain.
Reporter | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
In bug 1516482, we implement a function to get the user activation flag always from the top-level browsing context, however, it was removed in bug1577175 unexpectedly.
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
As there are some intermittent failures, I'm investigating them, will update the progress later.
Assignee | ||
Comment 5•5 years ago
|
||
I found that this test sometime would fail on the try server, and the reason is that the child document doesn't be activated correctly even if we have called synthesizeMouseAtCenter()
.
In order to reduce the dependency of other modules, which might affect synthesizing event, we should use notifyUserGestureActivation
to ensure that we indeed activate the document.
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f66335a878ba part1 : get the user activation state from top-level browsing context. r=edgar https://hg.mozilla.org/integration/autoland/rev/31158d1ccce8 part2 : enable test for Fission r=edgar https://hg.mozilla.org/integration/autoland/rev/b860f82259d0 part3 : use 'notifyUserGestureActivation()' to activate document directly. r=edgar
Comment 7•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f66335a878ba
https://hg.mozilla.org/mozilla-central/rev/31158d1ccce8
https://hg.mozilla.org/mozilla-central/rev/b860f82259d0
Description
•