Closed Bug 1590864 Opened 5 years ago Closed 5 years ago

[fission] test_autoplay_policy_activation.html fails with fission enabled

Categories

(Core :: Audio/Video: Playback, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Fission Milestone M4
Tracking Status
firefox72 --- fixed

People

(Reporter: jya, Assigned: alwu)

References

Details

Attachments

(3 files)

No description provided.

Please adjust priority as needed -- I'm not particularly familiar with this domain.

Priority: -- → P2
Assignee: jyavenard → alwu

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.

As there are some intermittent failures, I'm investigating them, will update the progress later.

Blocks: 1592166

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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: