<?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>25810</bug_id>
          
          <creation_ts>2014-05-19 18:46:24 +0000</creation_ts>
          <short_desc>Change all extensable enum to DomStrings</short_desc>
          <delta_ts>2014-09-10 06:42:50 +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>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>25298</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cullen Jennings">fluffy</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>dom</cc>
    
    <cc>harald</cc>
    
    <cc>jib</cc>
    
    <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>106361</commentid>
    <comment_count>0</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2014-05-19 18:46:24 +0000</bug_when>
    <thetext>Given how WebIDL enum work, for any one of our current strings that is an Enum, if future specs could extend them, change to DomString</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108585</commentid>
    <comment_count>1</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-07-01 09:21:57 +0000</bug_when>
    <thetext>25793 (for facingMode) is an instance of this problem, so adding as a dependency.

Only enums that are used as function arguments (including those that are in dictionaries used as function arguments) cause this problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108645</commentid>
    <comment_count>2</comment_count>
    <who name="Harald Alvestrand">harald</who>
    <bug_when>2014-07-02 11:11:44 +0000</bug_when>
    <thetext>Updating to reflect that 25793 has been marked a duplicate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110697</commentid>
    <comment_count>3</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-08-28 08:21:34 +0000</bug_when>
    <thetext>VideoFacingMode has been resolved different than suggested here (with an &quot;other&quot; value).

These leaves 2 other enums:
* MediaStreamTrackState
* MediaDeviceKind

Both are only set by the user agent, so it&apos;s not clear to me that there would be any benefit in changing them from enums.

I suggest closing as WONTFIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110715</commentid>
    <comment_count>4</comment_count>
    <who name="Jan-Ivar Bruaroey [:jib]">jib</who>
    <bug_when>2014-08-28 15:11:39 +0000</bug_when>
    <thetext>(In reply to Dominique Hazael-Massieux from comment #3)
&gt; VideoFacingMode has been resolved different than suggested here (with an
&gt; &quot;other&quot; value).

Not that different. It&apos;s still a DOMString. The &quot;other&quot; enum-value just leaves the door open for Bug 19936 to let implementations use enum here in the future.

&gt; These leaves 2 other enums:
&gt; * MediaStreamTrackState
&gt; * MediaDeviceKind
&gt; 
&gt; Both are only set by the user agent, so it&apos;s not clear to me that there
&gt; would be any benefit in changing them from enums.
&gt; 
&gt; I suggest closing as WONTFIX.

Good observation. I agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>111325</commentid>
    <comment_count>5</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-09-10 06:42:50 +0000</bug_when>
    <thetext>Closing as &quot;WONTFIX&quot; per Dom&apos;s and Jan-Ivar&apos;s recommendation.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>