This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25850 - Specify getter/setter behavior for SourceBuffer.trackDefaults
Summary: Specify getter/setter behavior for SourceBuffer.trackDefaults
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: Media Source Extensions (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: CR
Assignee: Aaron Colwell
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 03:44 UTC by Aaron Colwell
Modified: 2014-06-13 20:13 UTC (History)
2 users (show)

See Also:


Attachments

Description Aaron Colwell 2014-05-21 03:44:51 UTC
I just realized I forgot to fully specify the getter/setter and initial value for SourceBuffer.trackDefaults.

- The initial value should be an empty TrackDefaultList object.
- The setter should have the same exception throwing logic that prevents setting while updating is true and when the SourceBuffer in not attached to a MediaSource.
- The getter should simply return the initial value or the last value set.
Comment 1 Aaron Colwell 2014-06-13 20:13:24 UTC
Change committed.
https://dvcs.w3.org/hg/html-media/rev/a5786410b334