<?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>25622</bug_id>
          
          <creation_ts>2014-05-09 00:29:05 +0000</creation_ts>
          <short_desc>Use RangeError instead of QuotaExceededError</short_desc>
          <delta_ts>2014-06-02 00:53:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Cryptography</product>
          <component>Web Cryptography API Document</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Sleevi">sleevi</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>d</cc>
    
    <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105519</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-05-09 00:29:05 +0000</bug_when>
    <thetext>Raised during the W3C TAG review ( https://github.com/w3ctag/spec-reviews/issues/3#issuecomment-41521737 )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107104</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-06-02 00:53:37 +0000</bug_when>
    <thetext>I&apos;m going to close this as WontFix, for two reasons:

1) This is documenting an existing, implemented behaviour in a number of UAs that dates back to 2011

2) The choice of Quota over Range was made to prevent callers from draining the entropy pool, which is a concept specific to certain cryptographically strong random number generators. In this regard, Quota (as in, a fixed resource) seems more appropriate than Range (as in, exceeding an index)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>