- From: <bugzilla@jessica.w3.org>
- Date: Tue, 23 Dec 2014 19:18:05 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23332
--- Comment #9 from Joshua Bell <jsbell@google.com> ---
Re: accepted/returned types:
Web IDL has grown guidance here:
http://heycam.github.io/webidl/#idl-buffer-source-types
"When designing APIs that take a buffer, it is recommended to use the
BufferSource typedef rather than ArrayBuffer or any of the view types."
"When designing APIs that create and return a buffer, it is recommended to use
the ArrayBuffer type rather than Uint8Array."
Where BufferSource is:
typedef (Int8Array or Int16Array or Int32Array or
         Uint8Array or Uint16Array or Uint32Array or Uint8ClampedArray or
         Float32Array or Float64Array or DataView) ArrayBufferView;
typedef (ArrayBufferView or ArrayBuffer) BufferSource;
I'll update Chrome's impl to match that.
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 23 December 2014 19:18:13 UTC