W3C home > Mailing lists > Public > public-media-capture@w3.org > January 2014

Re: MediaError object (Re: New Editor's draft v20131225)

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Wed, 08 Jan 2014 16:31:34 -0500
Message-ID: <52CDC3B6.4010000@mozilla.com>
To: Harald Alvestrand <harald@alvestrand.no>, public-media-capture@w3.org
On 1/8/14 1:27 PM, Harald Alvestrand wrote:
> On 01/08/2014 06:49 PM, Jan-Ivar Bruaroey wrote:
>> Lets look at the design of the construct we proclaim to be using. 
>> DOMError covers all of DOM with 21 names without even a message-field 
>> (I hear they're adding one, bully for us), then we come along and add 
>> a third property we'll only use with one name, in half of one 
>> controversial API, for slippery slope reasons? That seems 
>> antithetical to the design to me, a DOMErrorino (DOMError in name 
>> only), except we wont have the actual name either.
>> I propose we drop the constraintName property unless use-cases can be 
>> shown that need it.
> The constraintName property (and the sdpLineNumber property in the 
> WebRTC draft) were added for reasons that seemed good at the time; you 
> can't indicate a line number with an error code.

But you can in a message-field, which I understand DOMError will grow. 
Why is that not sufficient?

.: Jan-Ivar :.
Received on Wednesday, 8 January 2014 21:32:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:23 UTC