@@ -64035,12 +64035,12 @@ v6DVT (also check for '- -' bits in the part above) -->
64035
64035
<p>The method, when invoked, must act as follows:</p>
64036
64036
64037
64037
<ol>
64038
+ <li><p>Let <var>buffer</var> be <var>imagedata</var>'s <code
64039
+ data-x="dom-imagedata-data">data</code> attribute value's [[ViewedArrayBuffer]] internal
64040
+ slot.</p></li>
64038
64041
64039
- <li>
64040
-
64041
- <p>If <var>imagedata</var>'s <code data-x="dom-imagedata-data">data</code> attribute value's
64042
- <span>[[Detached]]</span> internal slot value is true, then throw an
64043
- <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p>
64042
+ <li><p>If <span>IsDetachedBuffer</span>(<var>buffer</var>) is true, then throw an
64043
+ <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
64044
64044
64045
64045
<li>
64046
64046
@@ -92878,11 +92878,11 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
92878
92878
premultiplied by its alpha channel.
92879
92879
92880
92880
<p>Rejects the promise with an <span>"<code>InvalidStateError</code>"</span>
92881
- <code>DOMException</code> if the source image is not in a valid state (e.g. an <code>img</code>
92881
+ <code>DOMException</code> if the source image is not in a valid state (e.g., an <code>img</code>
92882
92882
element that hasn't loaded successfully, an <code>ImageBitmap</code> object whose
92883
92883
<span>[[Detached]]</span> internal slot value is true, an <code>ImageData</code> object whose
92884
- <code data-x="dom-imagedata-data">data</code> attribute value's <span>[[Detached]]</span>
92885
- internal slot value is true , or a <code>Blob</code> whose data cannot be interpreted as a bitmap
92884
+ <code data-x="dom-imagedata-data">data</code> attribute value's [[ViewedArrayBuffer]] internal
92885
+ slot is detached , or a <code>Blob</code> whose data cannot be interpreted as a bitmap
92886
92886
image).</p>
92887
92887
92888
92888
<p>Rejects the promise with a <span>"<code>SecurityError</code>"</span>
@@ -93194,9 +93194,13 @@ dictionary <dfn>ImageBitmapOptions</dfn> {
93194
93194
<li><p>If either the <var>sw</var> or <var>sh</var> arguments are specified but zero, return a
93195
93195
promise rejected with a <code data-x="js-RangeError">RangeError</code>.</p></li>
93196
93196
93197
- <li><p>If the <var>image</var> object's <code data-x="dom-imagedata-data">data</code> attribute
93198
- value's <span>[[Detached]]</span> internal slot value is true, then return a promise rejected
93199
- with an <span>"<code>InvalidStateError</code>"</span> <code>DOMException</code>.</p></li>
93197
+ <li><p>Let <var>buffer</var> be <var>image</var>'s <code
93198
+ data-x="dom-imagedata-data">data</code> attribute value's [[ViewedArrayBuffer]] internal
93199
+ slot.</p></li>
93200
+
93201
+ <li><p>If <span>IsDetachedBuffer</span>(<var>buffer</var>) is true, then return a promise
93202
+ rejected with an <span>"<code>InvalidStateError</code>"</span>
93203
+ <code>DOMException</code>.</p></li>
93200
93204
93201
93205
<li><p>Create a new <code>ImageBitmap</code> object.</p></li>
93202
93206
0 commit comments