Closed
Bug 1698401
Opened 3 years ago
Closed 3 years ago
Seeking to non-round number causes all WebVTT cues to fire between currentTime and seekTime.
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
RESOLVED
FIXED
89 Branch
Tracking | Status | |
---|---|---|
firefox89 | --- | fixed |
People
(Reporter: robert.bryer, Assigned: robert.bryer)
References
(Blocks 1 open bug)
Details
Attachments
(4 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:87.0) Gecko/20100101 Firefox/87.0
Steps to reproduce:
Seeking to a target with a fractional part on the number causes all WebVTT cues over the seek interval to call their 'enter' events.
Example:
http://smp-scratch.tools.bbc.co.uk/bob/plain.html
- Hit the +20 button to seek to currentTime += 20 + Math.rand()
- See in the console that all cues over the time are logged.
It won't happen if you use the controls seekbar or if you seek with a whole number.
Actual results:
All WebVTT cues between currentTime and seekTime fire.
Expected results:
Only cues active at these times fire.
Assignee | ||
Comment 1•3 years ago
|
||
Updated•3 years ago
|
Assignee: nobody → robert.bryer
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Updated•3 years ago
|
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D108361
Assignee | ||
Comment 4•3 years ago
|
||
Depends on D108863
Assignee | ||
Comment 5•3 years ago
|
||
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fa184a5e26d1 don't give PositionUpdate::ePeriodicUpdate when seeking, stopping timeMarchesOn() happening for a seek; add wpt for checking correct onenter fires on seek r=alwu
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/28405 for changes under testing/web-platform/tests
![]() |
||
Comment 8•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox89:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•