<?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>24409</bug_id>
          
          <creation_ts>2014-01-27 16:39:38 +0000</creation_ts>
          <short_desc>Consider making BigInteger an ArrayBuffer</short_desc>
          <delta_ts>2014-01-28 19:06:16 +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="Mark Watson">watsonm</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>ap</cc>
    
    <cc>info</cc>
    
    <cc>watsonm</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99163</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Watson">watsonm</who>
    <bug_when>2014-01-27 16:39:38 +0000</bug_when>
    <thetext>There&apos;s no reason to specify Unit8Array - the application may want to manipulate this using some other TypedArray. As far as the API is concerned it&apos;s an integer expressed in big-endian binary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99168</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-01-27 17:28:24 +0000</bug_when>
    <thetext>What are the use cases that are currently not well served with current API? It is trivial to get a view of a different type when needed:

new Uint32Array(myUint8View.buffer);

I suggest WONTFIX resolution for this bug, as the current solution works well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99328</commentid>
    <comment_count>2</comment_count>
    <who name="Franz Antesberger">info</who>
    <bug_when>2014-01-28 18:35:28 +0000</bug_when>
    <thetext>new Uint32Array(myUint8View.buffer);
will only work, if the buffer length is a multiple of 4.

But I agree, we have no advantage of ArrayBuffer (even if I suggested it, originally).
+1 for WONTFIX</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>