[whatwg/webidl] Check for detached buffer source when checking if transferable is inverted (Issue #1619)

jdm created an issue (whatwg/webidl#1619)

### What is the issue with the Web IDL Standard?

From https://webidl.spec.whatwg.org/#arraybuffer-transfer:
>If [IsDetachedBuffer](https://tc39.es/ecma262/multipage/structured-data.html#sec-isdetachedbuffer)(jsArrayBuffer) is false, then [throw](https://webidl.spec.whatwg.org/#javascript-throw) a [TypeError](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-native-error-types-used-in-this-standard-typeerror).

This appears to be backwards; we should only throw an error if it _is_ detached.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1619
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1619@github.com>

Received on Saturday, 18 July 2026 04:35:50 UTC