[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 #16 from Jan-Ivar Bruaroey [:jib] <jib@mozilla.com> ---
(In reply to Adam Bergkvist from comment #15)
> 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)

As I understand it, WebIDL dictionaries returned to JS are not browser objects
but POS (plain old JavaScript objects), so foo here is a POS and I wouldn't
derive much from that.

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

I think you mean: var dict = { member: "not-in-the-enum" ); and dict is also a
POS.

-- 
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 12:31:09 UTC