W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2012

RE: NavigatorUserMediaError - numeric?

From: Travis Leithead <travis.leithead@microsoft.com>
Date: Wed, 22 Aug 2012 16:48:23 +0000
To: Harald Alvestrand <harald@alvestrand.no>, "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <9768D477C67135458BF978A45BCF9B383842A5DF@TK5EX14MBXW602.wingroup.windeploy.ntdev.microsoft.com>
> From: Harald Alvestrand [mailto:harald@alvestrand.no]
> 
> Hello,
> 
> some time back, an effort was done to get rid of most cases of numeric
> codes from the specs, and replace them with enumerations of strings.
> 
> We have one left:
> 
> [NoInterfaceObject]
> interface NavigatorUserMediaError {
>      const unsigned short PERMISSION_DENIED = 1;
>      readonly attribute unsigned short code; };
> 
> Is there any reason this shouldn't be an enum with the single value
> "permission denied"?

Seems reasonable to me.
Received on Wednesday, 22 August 2012 16:49:51 UTC

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