Re: [w3c/IndexedDB] "Convert a value to a key" should return invalid for detached array buffers (PR #440)

@inexorabletash commented on this pull request.



> @@ -6366,9 +6366,11 @@ steps may throw an exception.
       <!-- Binary -->
       : If |input| is a [=buffer source type=]
       ::
+          1. If [$IsDetachedBuffer$](|input|) is true then return invalid.

Awesome. This all seemed very familiar... https://github.com/whatwg/webidl/pull/1420 ... apparently we needed something similar over in WebNN. :)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/pull/440#discussion_r1972528708
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/IndexedDB/pull/440/review/2646121741@github.com>

Received on Wednesday, 26 February 2025 22:44:47 UTC