Closed
Bug 1229657
Opened 9 years ago
Closed 9 years ago
mediasource.addSourceBuffer returns the wrong error type when mimetype isn't supported
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: jya, Assigned: jya)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
2.16 KB,
patch
|
mozbugz
:
review+
|
Details | Diff | Splinter Review |
When a mimetype that isn't supported it passed, addSourceBuffer returns Invalid State.
It should return NotSupportedErr error per spec.
Assignee | ||
Comment 1•9 years ago
|
||
InvalidStateError is only to be returned if the readyState attribute is not in the "open" state.
Attachment #8694581 -
Flags: review?(gsquelart)
Attachment #8694581 -
Flags: review?(gsquelart) → review+
Comment 3•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
You need to log in
before you can comment on or make changes to this bug.
Description
•