diff --git a/index.bs b/index.bs index b30aef86..860bef45 100644 --- a/index.bs +++ b/index.bs @@ -2047,7 +2047,7 @@ There are three kinds of operation: If an operation has an identifier but no static keyword, then it declares a regular operation. -If the operation has a +If the operation has a [=special keyword=] used in its declaration (that is, any keyword matching Special, or @@ -8171,8 +8171,8 @@ a reference to the same object that the IDL value represents. 1. Set |offset| to the value of |O|’s \[[ByteOffset]] [=internal slot=]. 1. Set |length| to the value of |O|’s \[[ByteLength]] [=internal slot=]. 1. Otherwise, set |length| to the value of |O|’s \[[ArrayBufferByteLength]] [=internal slot=]. - 1. If IsDetachedBuffer(|O|), then - [=ECMAScript/throw=] a {{ECMAScript/TypeError}}. + 1. If IsDetachedBuffer(|arrayBuffer|) is true, then + return the empty byte sequence. 1. Let |data| be the value of |O|’s \[[ArrayBufferData]] [=internal slot=]. 1. Return a reference to or copy of (as required) the |length| bytes in |data| starting at byte offset |offset|.