<?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>25658</bug_id>
          
          <creation_ts>2014-05-12 03:54:59 +0000</creation_ts>
          <short_desc>Need normative reference for ArrayBufferView type</short_desc>
          <delta_ts>2014-06-16 23:14:14 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Sleevi">sleevi</reporter>
          <assigned_to name="Ryan Sleevi">sleevi</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>public-webcrypto</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>105667</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-05-12 03:54:59 +0000</bug_when>
    <thetext>The handling of the various typed arrays has moved from the Kronos specification ( https://www.khronos.org/registry/typedarray/specs/latest/ ) into being part of ES6 proper ( http://people.mozilla.org/~jorendorff/es6-draft.html )

During the W3C TAG review, it was highlighted that the normative references for Typed Arrays should be updated to refer to the ES6 specification.

Within ES6, the ArrayBuffer object family still exists. However, the notion of ArrayBufferView has been subsumed into the pseudo-object %TypedArray%, along with concrete instances of it (eg: UInt8Array).

The result of this is that it&apos;s no longer linguistically possible to refer to &quot;an ArrayBufferView&quot; within the specification. Instead, the closest approximation would appear to be

&quot;an object whose Type(object) is Object and which has a [[TypedArrayName]] internal slot whose value is not undefined&quot;

The interim solution will be to continue to refer to &quot;ArrayBufferView&quot;, as if it were a discrete type. However, this will likely prevent the document from entering REC track until suitable language and IDL can be found.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105668</commentid>
    <comment_count>1</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-05-12 03:59:28 +0000</bug_when>
    <thetext>How the HTML spec presently defines it:

http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#dependencies

Which declares that ArrayBufferView is simply a type-def of the concrete %TypedArray% classes within ES6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>105678</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2014-05-12 06:02:03 +0000</bug_when>
    <thetext>Note that IDL is global, so since that spec defines it you can use it.

Of course for W3C process purposes you may not want a dependency on HTML.  :(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107889</commentid>
    <comment_count>3</comment_count>
    <who name="Ryan Sleevi">sleevi</who>
    <bug_when>2014-06-16 23:14:14 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/webcrypto-api/rev/193c854a9ac7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>