Closed
Bug 983293
Opened 11 years ago
Closed 11 years ago
[webvtt] Refactor TextTrack initialization
Categories
(Core :: Audio/Video, defect)
Core
Audio/Video
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: reyre, Assigned: reyre)
References
Details
Attachments
(5 files, 3 obsolete files)
2.06 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
7.04 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
7.92 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
9.62 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
2.39 KB,
patch
|
cpearce
:
review+
|
Details | Diff | Splinter Review |
Currently we're initializing TextTracks and setting ReadyState and Mode values in a number of disjointed places. We're also initializing them with unnecessary default values.
Making it clear what part of the code triggers a TextTrack's ready state or mode value to be set will help us prevent future problems and improve code readability.
Assignee | ||
Comment 1•11 years ago
|
||
Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8390736 -
Flags: review?(cpearce)
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8390737 -
Flags: review?(cpearce)
Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8390738 -
Flags: review?(cpearce)
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #8390739 -
Flags: review?(cpearce)
Updated•11 years ago
|
Attachment #8390735 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8390736 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8390737 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8390738 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8390739 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 6•11 years ago
|
||
I had to rename two of the values in the TextTrackReadyState enum because we were having problems on Linux caused by there being another name called 'None'. I've changed the names to be a bit more closer to spec as well.
Attachment #8390737 -
Attachment is obsolete: true
Attachment #8392859 -
Flags: review?(cpearce)
Assignee | ||
Comment 7•11 years ago
|
||
Updated to have the new enum names.
Attachment #8390738 -
Attachment is obsolete: true
Attachment #8392860 -
Flags: review?(cpearce)
Assignee | ||
Comment 8•11 years ago
|
||
Updated to have the new names.
Attachment #8390739 -
Attachment is obsolete: true
Attachment #8392861 -
Flags: review?(cpearce)
Assignee | ||
Comment 9•11 years ago
|
||
See http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-readiness-state for where the new TextTrackReady state names are from.
Updated•11 years ago
|
Attachment #8392859 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8392860 -
Flags: review?(cpearce) → review+
Updated•11 years ago
|
Attachment #8392861 -
Flags: review?(cpearce) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Thanks for review Chris.
Try looks green: https://tbpl.mozilla.org/?tree=Try&rev=c9d3514298fb
Keywords: checkin-needed
Comment 11•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/94a86e25eb1b
https://hg.mozilla.org/integration/mozilla-inbound/rev/44517fc04307
https://hg.mozilla.org/integration/mozilla-inbound/rev/5fc6b482da8e
https://hg.mozilla.org/integration/mozilla-inbound/rev/f653d96cd70b
https://hg.mozilla.org/integration/mozilla-inbound/rev/4523d1eeae4a
Keywords: checkin-needed
Comment 12•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/94a86e25eb1b
https://hg.mozilla.org/mozilla-central/rev/44517fc04307
https://hg.mozilla.org/mozilla-central/rev/5fc6b482da8e
https://hg.mozilla.org/mozilla-central/rev/f653d96cd70b
https://hg.mozilla.org/mozilla-central/rev/4523d1eeae4a
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
You need to log in
before you can comment on or make changes to this bug.
Description
•