Re: [Bug 25298] How to represent VideoFacingMode if browser is not able to detect the FacingMode of the camera.

On 4/28/14 4:42 PM, Harald Alvestrand wrote:
> I thought you had concluded that an enum inside a dict would not 
> throw? Assignment rule rather than parameter rule?

They throw. See
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298#c13
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19936#c0

Instances of "dictionaries" in JS are plain JS objects.

Dictionaries don't "live" in JS, they just facilitate the passing of JS 
objects to/from functions.

.: Jan-Ivar :.

Received on Monday, 28 April 2014 22:13:23 UTC