Closed
Bug 1813914
Opened 1 year ago
Closed 1 year ago
Wrong result for `getAutoplayPolicy("mediaelement")` when using it on the click-to-play policy
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
STR.
- set
media.autoplay.blocking_policy=2
- open https://alastor0325.github.io/htmltests/autoplay_tests/iframe_a1_a2_a3.html
- click the arbitrary place on the page, but not on those elements
Expected.
4. getAutoplayPolicy("mediaelement")
still returns disallowed
Actual
4. getAutoplayPolicy("mediaelement")
returns allowed
Assignee | ||
Comment 1•1 year ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Depends on D168850
Assignee | ||
Comment 3•1 year ago
|
||
Depends on D168851
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e14477ce5634 part1 : add test for click-to-play policy. r=padenot https://hg.mozilla.org/integration/autoland/rev/b1136548dfb3 part2 : split 'IsWindowAllowedToPlay' into two types of checks for the future usage. r=padenot https://hg.mozilla.org/integration/autoland/rev/9d7979f180dc part3 : don't check gesture activation for document when the policy is click-to-play. r=padenot
Comment 5•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e14477ce5634
https://hg.mozilla.org/mozilla-central/rev/b1136548dfb3
https://hg.mozilla.org/mozilla-central/rev/9d7979f180dc
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•