Closed
Bug 1096750
Opened 11 years ago
Closed 11 years ago
Expect error event in test_video_in_audio_element if used with video-only media
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla36
People
(Reporter: kinetik, Assigned: kinetik)
References
Details
Attachments
(1 file)
|
2.00 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
The changes in bug 922314 include a fix for bug 1060896 in the restructed WebM decoder. test_video_in_audio_element will time out because the WebM used is video-only (it has no audio track), so loading it in an <audio> element results in no valid tracks being configured and a decode error event being raised. Modify the test to expect an error in this situation rather than timing out.
| Assignee | ||
Updated•11 years ago
|
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8520354 -
Flags: review?(cpearce)
Comment 2•11 years ago
|
||
Comment on attachment 8520354 [details] [diff] [review]
bug1096750_v0.patch
Review of attachment 8520354 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/media/test/test_video_in_audio_element.html
@@ +45,5 @@
>
> a.src = test.name;
> }
>
> var videos = gSmallTests.filter(function(x){return /^video/.test(x.type);});
We now have getPlayableVideos() in manifest.js.
Comment 3•11 years ago
|
||
Comment on attachment 8520354 [details] [diff] [review]
bug1096750_v0.patch
Review of attachment 8520354 [details] [diff] [review]:
-----------------------------------------------------------------
Using getPlayableVideos() seems like a good idea.
Attachment #8520354 -
Flags: review?(cpearce) → review+
| Assignee | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/234c07eb3438
https://hg.mozilla.org/mozilla-central/rev/f92fbac59bcf
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in
before you can comment on or make changes to this bug.
Description
•