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 22546 - Make AesCtrParams.counter an ArrayBufferView
Summary: Make AesCtrParams.counter an ArrayBufferView
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 23:47 UTC by Eric Roman
Modified: 2014-02-20 21:22 UTC (History)
2 users (show)

See Also:


Attachments

Description Eric Roman 2013-07-02 23:47:00 UTC
AesCtrParams.counter is defined as an ArrayBuffer, however the other byte parameters are defined as ArrayBufferView.

I suggest making "counter" an ArrayBufferView for consistency.
Comment 1 Ryan Sleevi 2013-07-03 23:20:38 UTC
Fixed in https://dvcs.w3.org/hg/webcrypto-api/rev/0551d57b7b6b
Comment 2 Eric Roman 2013-08-22 18:17:02 UTC
Can this be marked as fixed?
Comment 3 Mark Watson 2014-02-20 21:22:52 UTC
All such inputs now use the CryptoOperationData type, which is an ArrayBuffer or ArrayBufferView.