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 26895 - Use BufferSource typedef
Summary: Use BufferSource typedef
Status: RESOLVED FIXED
Alias: None
Product: Web Cryptography
Classification: Unclassified
Component: Web Cryptography API Document (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Ryan Sleevi
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 05:19 UTC by Cameron McCormack
Modified: 2014-10-27 21:47 UTC (History)
2 users (show)

See Also:


Attachments

Description Cameron McCormack 2014-09-24 05:19:47 UTC
I've added a typedef to Web IDL to define the (ArrayBuffer or ArrayBufferView) union, since that is probably going to be a common pattern to use.  Please use that rather than defining CryptoOperationData here.  Thanks!

http://heycam.github.io/webidl/#common-ArrayBufferData
Comment 1 Mark Watson 2014-09-26 17:43:24 UTC
Any objections to a global change CryptoOperationData -> ArrayBufferData ?
Comment 2 Mark Watson 2014-10-22 21:43:26 UTC
Ping?

I will make this change if there are no comments.
Comment 3 Mark Watson 2014-10-27 21:47:00 UTC
This was renamed BufferSource in WebIDL since this bug was filed.

https://dvcs.w3.org/hg/webcrypto-api/rev/7dd14c51e4b7