You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Out-of-date(?) ArrayBuffer usage in algorithmic text #346
“Associated with the relevant global object” is odd indirection — what’s of interest is this’s relevant realm, not its relevant global object.
“ArrayBuffer” links to the Web IDL type. The type is not associated with a particular realm (or global object), the %ArrayBuffer% intrinsic is (via [[Intrinsics]].[[%ArrayBuffer%]]).
It is presumably correct to use the Web IDL type here, but in that case the algorithm should “call” create an ArrayBuffer passing the data and the realm.
Also, in Terminology, it states that ArrayBuffer and ArrayBufferView are defined by HTML, but they are defined (as used here) by Web IDL.
Activity
twiss commentedon Jun 15, 2023
Hey 👋 Thanks for pointing this out! I'm not an expert on WebIDL, but I'll take a stab at fixing the text.