This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
TrackDefaultList constructor takes a sequence<TrackDefault> parameter named trackDefaults. After enforcing uniqueness of <type,byteStreamTrackID> within trackDefaults, the spec says to: "2. Store a copy of trackDefaults in this new object so the values can be returned by the accessor methods." The spec is unclear whether a shallow or deep copy of the TrackDefault objects within trackDefaults is required. Since TrackDefault exposes no mutator methods, a shallow copy should suffice (it would not allow apps to violate the <type,byteStreamTrackID> uniqueness constraint previously enforced in the TrackDefaultList ctor.) The type of copy is app-visible, hence this bug to clarify the spec.
Change committed... https://github.com/w3c/media-source/commit/9c3c5aeb3ab8a96dead9e7abb06cbd419bf8d648