Closed Bug 1553678 Opened 6 years ago Closed 6 years ago

[webvtt] Enable wpt 'track-active-cues.html'.

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The reason of the wpt 'track-active-cues.html' being timout is because we didn't run TimeMarchesOn when we add new cues, so that we couldn't receive cuechange event.

According to the spec [1], the TimeMarchesOn should only be ran when media element's show poster flag is not set. However, in this test, we didn't do anything which would unset the show poster. eg. call play, start autoplay or seek.

[1] https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:time-marches-on-2

According to the spec [1], the TimeMarchesOn should only be ran when media element's show poster flag is not set.

If we would like to receive cuechange event, we have to reset media element's show poster flag in order to run TimeMarchesOn when adding new cues.

[1] https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource:time-marches-on-2

Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c8f80978ad74 enable wpt 'track-active-cues.html' r=jya
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/17040 for changes under testing/web-platform/tests
Upstream web-platform-tests status checks passed, PR will merge once commit reaches central.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: