<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25793</bug_id>
          
          <creation_ts>2014-05-19 04:57:44 +0000</creation_ts>
          <short_desc>Make facingMode a DOMString for now to avoid throwing on future facingModes</short_desc>
          <delta_ts>2014-07-02 11:12:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>25298</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan-Ivar Bruaroey [:jib]">jib</reporter>
          <assigned_to name="Dan Burnett">dburnett</assigned_to>
          <cc>harald</cc>
    
    <cc>public-media-capture</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106305</commentid>
    <comment_count>0</comment_count>
    <who name="Jan-Ivar Bruaroey [:jib]">jib</who>
    <bug_when>2014-05-19 04:57:44 +0000</bug_when>
    <thetext>Enums inside a dictionary throw - See bug 25298 comment 13 - which means we can&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106307</commentid>
    <comment_count>1</comment_count>
    <who name="Jan-Ivar Bruaroey [:jib]">jib</who>
    <bug_when>2014-05-19 05:04:57 +0000</bug_when>
    <thetext>This may apply to other enums as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108582</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-07-01 09:14:34 +0000</bug_when>
    <thetext>This seems sad, but necessary. Assigning for editing.

The enum should be kept in the spec, and the argument should be a ConstrainDOMString, with a comment saying &quot;legal values are from the enum&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108619</commentid>
    <comment_count>3</comment_count>
    <who name="Jan-Ivar Bruaroey [:jib]">jib</who>
    <bug_when>2014-07-01 16:03:26 +0000</bug_when>
    <thetext>I think this is covered by the pull request in Bug 25298 Comment 20. I suggest closing this bug as a dup of that one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108622</commentid>
    <comment_count>4</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-07-01 18:36:14 +0000</bug_when>
    <thetext>Agree with Jan-Ivar.

*** This bug has been marked as a duplicate of bug 25298 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>