Closed
Bug 949642
Opened 12 years ago
Closed 12 years ago
[WebVTT] Implement VTTCue::LineAlign
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla29
People
(Reporter: reyre, Assigned: reyre)
References
()
Details
Attachments
(1 file, 2 obsolete files)
|
5.96 KB,
patch
|
Details | Diff | Splinter Review |
This is a new property on the VTTCue idl.
| Assignee | ||
Updated•12 years ago
|
| Assignee | ||
Comment 1•12 years ago
|
||
I don't quite think it makes sense to throw our own SYNTAX_ERRORS. Instead we could define a different Align setting with only the values start, middle, and end. Then the WebIDL bindings would do the checking and throwing for us. This isn't in the spec yet, though.
Attachment #8347253 -
Flags: review?(giles)
Comment 2•12 years ago
|
||
Comment on attachment 8347253 [details] [diff] [review]
Bug 949642 - Implement VTTCue::LineAlign r=rillian
Review of attachment 8347253 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good. Thanks for writing tests!
::: content/media/test/test_texttrackcue.html
@@ +91,5 @@
> + exceptionHappened = true;
> + is(e.name, "SyntaxError", "Should have thrown SyntaxError.");
> + }
> + ok(exceptionHappened, "Exception should have happened.");
> +
I'd also try 'MIDDLE' or some other variant to verify the case-sensitivity.
Attachment #8347253 -
Flags: review?(giles) → review+
| Assignee | ||
Comment 3•12 years ago
|
||
Thanks for review Ralph.
Added test to test case sensitivity by setting cue.lineAlign = "START".
Carrying forward r=rillian.
Try: https://tbpl.mozilla.org/?tree=Try&rev=dde4206fc7be
Attachment #8347253 -
Attachment is obsolete: true
Updated•12 years ago
|
Keywords: checkin-needed
| Assignee | ||
Comment 5•12 years ago
|
||
Rebased to current. Carrying forward r=rillian.
Attachment #8350081 -
Attachment is obsolete: true
| Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 6•12 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Backed out in https://hg.mozilla.org/integration/mozilla-inbound/rev/208aaf5579aa because something from the push this was in introduced a new intermittent failure on Android: https://tbpl.mozilla.org/php/getParsedLog.php?id=32309229&tree=Mozilla-Inbound
Flags: in-testsuite+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Merged backout to mozilla-central
https://hg.mozilla.org/mozilla-central/rev/208aaf5579aa
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 10•12 years ago
|
||
Failure was caused by bug 921484. Has landed now. Try: https://tbpl.mozilla.org/?tree=Try&rev=262a49175fb5
Keywords: checkin-needed
Comment 11•12 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•