W3C home > Mailing lists > Public > public-script-coord@w3.org > January to March 2016

[Bug 28798] Indicate BufferSource algorithms can throw

From: <bugzilla@jessica.w3.org>
Date: Tue, 09 Feb 2016 20:40:21 +0000
To: public-script-coord@w3.org
Message-ID: <bug-28798-3890-N7NbkjmPIv@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28798

--- Comment #7 from Tab Atkins Jr. <jackalmage@gmail.com> ---
Similarly documenting: Font Loading's FontFace() constructor takes binary data,
and would copy.

These examples, and my own intuition, suggest that most functions with binary
data arguments are *consuming* those arguments, not sharing them, and so we
should default to copying (which is the safer default anyway) and require an
annotation to indicate that a reference is being held.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 9 February 2016 20:40:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:24 UTC