- From: <bugzilla@jessica.w3.org>
- Date: Tue, 04 Nov 2014 22:18:35 +0000
- To: public-html-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27240 Bug ID: 27240 Summary: Fix TrackDefaultList constructor to throw an exception on any duplicate (type, byteStreamTrackID) pair Product: HTML WG Version: unspecified Hardware: PC OS: All Status: NEW Severity: normal Priority: P2 Component: Media Source Extensions Assignee: adrianba@microsoft.com Reporter: acolwell@google.com QA Contact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-media@w3.org Currently the TrackDefaultList constructor only throws an exception when multiple TrackDefault objects with the same type and an empty byteStreamTrackID are passed in. This leads to ambiguity in the track default kind/language/label algorithms when multiple defaults with the same type and byteStreamTrackID are present. I propose that step 1 in the constructor be changed to the following: "If trackDefaults contains two or more TrackDefault objects with the same type and the same byteStreamTrackID, then throw an INVALID_ACCESS_ERR and abort these steps." This should cover the original empty string case and prevent the ambiguous situation as well. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 4 November 2014 22:18:36 UTC