<?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>14488</bug_id>
          
          <creation_ts>2011-10-17 23:06:54 +0000</creation_ts>
          <short_desc>[IDBObjectStore|IDBIndex].count description should specify optional argument behavior a little better</short_desc>
          <delta_ts>2011-11-02 15:09:24 +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>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</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 name="Ben Turner">bent.mozilla</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>mike</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>58310</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Turner">bent.mozilla</who>
    <bug_when>2011-10-17 23:06:54 +0000</bug_when>
    <thetext>Right now the first sentence of the description says to throw an exception if the argument is not a valid key or KeyRange ignoring the fact that the argument is optional. We may also want to accept null to mean &apos;everything&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59464</commentid>
    <comment_count>1</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-11-02 01:23:22 +0000</bug_when>
    <thetext>Making change</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59491</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-11-02 15:09:24 +0000</bug_when>
    <thetext>I changed the wording just a little bit to overtly state that the param is optional:

If the optional key parameter is not a valid key or a key range, this method throws a DOMException of type DataError.

The change is published in the 1 November Editor&apos;s Draft.
Thanks for the feedback.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>