W3C home > Mailing lists > Public > public-media-capture@w3.org > April 2014

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

From: <bugzilla@jessica.w3.org>
Date: Thu, 17 Apr 2014 12:31:08 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25298-5753-mqNJWIIDLw@http.www.w3.org/Bugs/Public/>
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

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