This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22568 - Spec should allow both ArrayBuffer and ArrayBufferView
Summary: Spec should allow both ArrayBuffer and ArrayBufferView
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-03 23:40 UTC by Ryan Sleevi
Modified: 2013-07-03 23:43 UTC (History)
1 user (show)

See Also:


Attachments

Description Ryan Sleevi 2013-07-03 23:40:22 UTC
This was raised by Israel Hilerio on http://lists.w3.org/Archives/Public/public-webcrypto/2013Apr/0145.html

"""
In addition, to avoid the potential casting of ArrayBuffer into ArrayBufferView we believe it would be useful to create a new type called AlgorithmInputData:
-->typedef (ArrayBuffer or ArrayBufferView) AlgorithmInputData;

This would allow the various input dictionaries to be able to support input variables with either ArrayBufferView or ArrayBuffer.
"""
Comment 1 Ryan Sleevi 2013-07-03 23:43:33 UTC
Fixed as of https://dvcs.w3.org/hg/webcrypto-api/rev/0e0ada1059f6