Closed
Bug 1283415
Opened 9 years ago
Closed 9 years ago
Empty poster attribute on video element throw an error
Categories
(Core :: Audio/Video: Playback, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: thainbbdl, Assigned: jaws)
Details
(Keywords: compat)
Attachments
(1 file, 1 obsolete file)
1.50 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20160629030209
Steps to reproduce:
Add an empty poster attribute on a video element
see : http://jsbin.com/tetovicoxe/edit?html,console,output
Actual results:
Firefox throw an error while other vendors ignore this attribute
Expected results:
The poster attribute should be ignored
https://www.w3.org/TR/html5/embedded-content-0.html#attr-video-poster
Updated•9 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Video/Audio Controls
Ever confirmed: true
Product: Firefox → Toolkit
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/62872/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/62872/
Attachment #8768851 -
Flags: review?(cpearce)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Component: Video/Audio Controls → Audio/Video
Product: Toolkit → Core
Assignee | ||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 3•9 years ago
|
||
Comment on attachment 8768851 [details]
Bug 1283415 - Only set the poster src on the anonymous content if the attribute is not empty.
https://reviewboard.mozilla.org/r/62872/#review59838
Attachment #8768851 -
Flags: review?(cpearce) → review+
Comment 4•9 years ago
|
||
Thanks Jared.
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e097b3f7f21b
Only set the poster src on the anonymous content if the attribute is not empty. r=cpearce
Backed out for reftest bustage in https://hg.mozilla.org/integration/autoland/rev/c22afe017b53
https://treeherder.mozilla.org/logviewer.html#?job_id=431736&repo=autoland
Flags: needinfo?(jaws)
Assignee | ||
Comment 7•9 years ago
|
||
Flags: needinfo?(jaws)
Assignee | ||
Comment 8•9 years ago
|
||
mozreview won't let me push this and I think it's because this already was already landed once through mozreview. "abort: reviewboard error: One or more fields had errors (HTTP 400, API Error 105); identifier: Parent review request is submitted or discarded"
I changed this patch to unset the "src" attribute on the poster image. Previously it was unsetting the "poster" attribute on the poster image, which would be non-existant anyways. This just happened to work for the reftest case that was used, since the poster attribute was still present but was set to the empty value.
Since this now follows a different codepath, it made the already present bug visible in the reftest.
Attachment #8768851 -
Attachment is obsolete: true
Attachment #8769490 -
Flags: review?(cpearce)
Updated•9 years ago
|
Attachment #8769490 -
Flags: review?(cpearce) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/60e03643f8e2
Only set the poster src on the anonymous content if the attribute is not empty. r=cpearce
Keywords: checkin-needed
Comment 10•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•