<?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>21227</bug_id>
          
          <creation_ts>2013-03-08 18:07:34 +0000</creation_ts>
          <short_desc>Remove static keyword from MediaSource.isTypeSupported()</short_desc>
          <delta_ts>2013-03-11 15:34:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>Media Source Extensions</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aaron Colwell (c)">acolwell</reporter>
          <assigned_to name="Adrian Bateman [MSFT]">adrianba</assigned_to>
          <cc>ddorwin</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-media</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>84126</commentid>
    <comment_count>0</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-03-08 18:07:34 +0000</bug_when>
    <thetext>Static methods don&apos;t appear to be common in the web platform. A quick grep of WebKit IDL files show that only 3 classes have static methods.

I propose that the &apos;static&apos; keyword be removed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84127</commentid>
    <comment_count>1</comment_count>
    <who name="Adrian Bateman [MSFT]">adrianba</who>
    <bug_when>2013-03-08 18:19:58 +0000</bug_when>
    <thetext>static is a relatively new addition to WebIDL and the platform to avoid singleton objects that were used in the past. It has been used in some newer APIs such as File API [1] and IndexedDB [2]. Adding methods to the prototype is common in JavaScript (e.g. the methods on Array).

Since it has already been added to the platform it seems appropriate to use it for its intended purpose. If we don&apos;t use new features because they are new they will never become common.

[1] http://www.w3.org/TR/FileAPI/#creating-revoking
[2] http://www.w3.org/TR/IndexedDB/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84128</commentid>
    <comment_count>2</comment_count>
    <who name="Aaron Colwell (c)">acolwell</who>
    <bug_when>2013-03-08 18:24:44 +0000</bug_when>
    <thetext>Ok. I&apos;m fine with keeping this then. I was just looking around WebKit for examples and found very few so thought I should bring this up especially since HTMLMediaElement.canPlayType() is not static.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>