Re: [webidl] Check for detached array buffers when converting JS->IDL ArrayBuffer. (5458f0c)

IsDetachedBuffer asserts that [[ArrayBufferData]] exists, rather than checks-and-throws if it does not exist. So I think callers of IsDetachedBuffer need to ensure that the value passed to it is already an object with an [[ArrayBufferData]].

---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/commit/5458f0c741746ab43e0c5250fd8686fb4d31fdf8#commitcomment-12032561

Received on Tuesday, 7 July 2015 06:54:27 UTC