media element returns empty seekable range when liveSeekable range is set and readyState is HAVE_NOTHING

RESOLVED FIXED in Firefox 51

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: jya, Assigned: jya)

Tracking

(Blocks: 1 bug)

unspecified
mozilla51
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox51 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
As the title states.

If the liveSeekable attribute is set, then the seekable attribute must return the liveseekable range.

https://w3c.github.io/media-source/index.html#htmlmediaelement-extensions

Note that there's nothing related to the readyState in the spec for the seekable attribute.
Comment hidden (mozreview-request)
(In reply to Jean-Yves Avenard [:jya] from comment #0)
> Note that there's nothing related to the readyState in the spec for the
> seekable attribute.

Why don't we just remove the check for |mReadyState > nsIDOMHTMLMediaElement::HAVE_NOTHING|?

Comment 3

2 years ago
mozreview-review
Comment on attachment 8779627 [details]
Bug 1293927: Always use MediaSource seekable range regardless of readyState.

https://reviewboard.mozilla.org/r/70586/#review68264
Attachment #8779627 - Flags: review?(jwwang) → review+

Comment 4

2 years ago
Pushed by jyavenard@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/27a5cf1e4476
Always use MediaSource seekable range regardless of readyState. r=jwwang
(Assignee)

Updated

2 years ago
Blocks: 1294398

Comment 5

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/27a5cf1e4476
Status: NEW → RESOLVED
Last Resolved: 2 years ago
status-firefox51: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
You need to log in before you can comment on or make changes to this bug.