> 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