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

[Bug 25793] New: Make facingMode a DOMString for now to avoid throwing on future facingModes

From: <bugzilla@jessica.w3.org>
Date: Mon, 19 May 2014 04:57:44 +0000
To: public-media-capture@w3.org
Message-ID: <bug-25793-5753@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25793

            Bug ID: 25793
           Summary: Make facingMode a DOMString for now to avoid throwing
                    on future facingModes
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: jib@mozilla.com
                CC: public-media-capture@w3.org

Enums inside a dictionary throw - See bug 25298 comment 13 - which means we
can't add more facingModes in the future (without breaking old browsers).

A workaround would be to make it a DOMString and only allude to it being an
enum-like.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Monday, 19 May 2014 04:57:45 UTC

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