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

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25298

--- Comment #15 from Adam Bergkvist <adam.bergkvist@ericsson.com> ---
(In reply to Jan-Ivar Bruaroey [:jib] from comment #13)
> (In reply to Adam Bergkvist from comment #12)
> Unfortunately, dictionaries are always function arguments (they can't be
> attributes), so invalid facingModes throw, hence Bug 19936.

I was referring to the value assignment of a dictionary member (not the entire
dictionary).

foo.attr = "not-in-the-enum"; // ignored (from WebIDL spec example)

enumArgFunc("not-in-the-enum"); // error  (from WebIDL spec example)

var dict = {
  member = "not-in-the-enum" // this is the case: ignored or error?
};

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Thursday, 17 April 2014 05:51:39 UTC