<?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>24475</bug_id>
          
          <creation_ts>2014-02-03 03:54:40 +0000</creation_ts>
          <short_desc>StorageQuota.supportedTypes should return a frozen Array</short_desc>
          <delta_ts>2015-04-01 13:42:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Quota Management API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>kinuko</reporter>
          <assigned_to name="Kinuko Yasuda">kinuko</assigned_to>
          <cc>art.barstow</cc>
    
    <cc>d</cc>
    
    <cc>mike</cc>
    
    <cc>nhiroki</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99593</commentid>
    <comment_count>0</comment_count>
    <who name="">kinuko</who>
    <bug_when>2014-02-03 03:54:40 +0000</bug_when>
    <thetext>Adding a simple method like

isSupportedType(type)

might be easier / more convenient in real usage?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99594</commentid>
    <comment_count>1</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2014-02-03 04:03:54 +0000</bug_when>
    <thetext>Alternately you could use the fruits of https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682 and use a frozen array. That&apos;s option A in the original post there; according to https://www.w3.org/Bugs/Public/show_bug.cgi?id=23682#c7 the resulting syntax is going to be

[SameObject] readonly attribute frozen array&lt;StorageType&gt; supportedTypes;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99595</commentid>
    <comment_count>2</comment_count>
    <who name="">kinuko</who>
    <bug_when>2014-02-03 04:24:38 +0000</bug_when>
    <thetext>Thanks for the suggestion, I just skimmed through the issue and it looks returning a frozen JS array perfectly makes sense in our case.

I&apos;ll update the spec to use [SameObject] (and &apos;frozen&apos; when we have it in IDL) if it gets no objections.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99596</commentid>
    <comment_count>3</comment_count>
    <who name="">kinuko</who>
    <bug_when>2014-02-03 04:26:06 +0000</bug_when>
    <thetext>Updating the subject for clarification.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119181</commentid>
    <comment_count>4</comment_count>
    <who name="Arthur Barstow">art.barstow</who>
    <bug_when>2015-04-01 13:42:42 +0000</bug_when>
    <thetext>It appears Kinuko fixed this on Github via Issue &lt;https://github.com/kinu/quota-api/issues/3&gt; and commit &lt;https://github.com/kinu/quota-api/issues/3#ref-commit-b1b0c63&gt;. Do you agree Kinuko and Domenic?


Kinuko, BTW, now that you are using GH for this spec &lt;&gt;, perhaps this Bugzilla component should be: marked as &quot;Historical&quot;, the component no longer accept new bugs and Github Issues be used exclusively for this spec. WDYT? If you agree, I&apos;ll work with W3C staff to make this happen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>