script: Make Blob.ArrayBuffer() more specification-compliant (#35748)

I have modified the Blob.ArrayBuffer implementation to comply with the
specification part of #25209.
See also: #35151.

Testing: This does not seem to affect tested behavior, so no new tests.

Signed-off-by: yoseio <98276492+yoseio@users.noreply.github.com>
This commit is contained in:
Kousuke Takaki 2025-05-19 20:55:06 +09:00 committed by GitHub
parent 6e97fc0bc4
commit ec448b1423
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 43 additions and 28 deletions

View file

@ -39,7 +39,7 @@ DOMInterfaces = {
'Blob': {
'weakReferenceable': True,
'canGc': ['Slice', 'Text', 'ArrayBuffer', 'Stream', 'Bytes'],
'inRealms': ['Bytes'],
'inRealms': ['Bytes', 'ArrayBuffer'],
},
'Bluetooth': {