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 05:51:37 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25298-5753-ww8l2SwEmp@http.www.w3.org/Bugs/Public/>
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

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