Skip to content

Commit dd80411

Browse files
[HTML] Editorial: remove inaccurate SecurityError note from createImageBitmap() whatwg/html@89051ff
1 parent 9834082 commit dd80411

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

HTML-global-api-ja.html

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@
122122

123123
●●options
124124

125-
spec_date:2025-12-12
126-
trans_update:2025-12-13
125+
spec_date:2026-06-03
126+
trans_update:2026-06-04
127127
source_checked:240712
128128
page_state_key:HTML
129129
spec_status:LS
@@ -213,7 +213,6 @@
213213
E.IndexSizeError:~WEBIDL#indexsizeerror
214214
E.InvalidCharacterError:~WEBIDL#invalidcharactererror
215215
E.InvalidStateError:~WEBIDL#invalidstateerror
216-
E.SecurityError:~WEBIDL#securityerror
217216
E.DataCloneError:~WEBIDL#datacloneerror
218217
E.RangeError:~TC39#sec-native-error-types-used-in-this-standard-rangeerror
219218

@@ -485,7 +484,6 @@
485484

486485
url.生成元:~URL1#concept-url-origin
487486

488-
~CORS非同一-生成元:~HTMLurl#cors-cross-origin
489487
~CSS~pixel:~CSSVAL#px
490488
透明な黒:~CSSCOLOR#transparent-black
491489

@@ -799,7 +797,6 @@
799797
拡縮ng:scaling::拡縮
800798
拡縮-:scaling
801799
描く:drawする::~
802-
描かれ:drawされ::~
803800
:grid
804801
上下逆さに:vertically
805802
:horizontal
@@ -3771,15 +3768,6 @@ <h4 title="The ImageBitmap interface">8.10.2. `ImageBitmap^I ~interface</h4>
37713768

37723769
37733770
Rejects the promise with an "InvalidStateError" DOMException if the source image is not in a valid state (e.g., an img element that hasn't loaded successfully, an ImageBitmap object whose [[Detached]] internal slot value is true, an ImageData object whose data attribute value's [[ViewedArrayBuffer]] internal slot is detached, or a Blob whose data cannot be interpreted as a bitmap image).
3774-
</dd>
3775-
<dd>
3776-
~scriptから~source画像の画像~dataへの~accessは許容されない場合、
3777-
%promise は `SecurityError$E 例外で却下される
3778-
(例:
3779-
`~CORS非同一-生成元$の `video$e /
3780-
別の`生成元$からの~worker内の~scriptにより描かれている `canvas$e )。
3781-
3782-
Rejects the promise with a "SecurityError" DOMException if the script is not allowed to access the image data of the source image (e.g. a video that is CORS-cross-origin, or a canvas being drawn on by a script in a worker from another origin).
37833771
</dd>
37843772

37853773
<dt>%imageBitmap.`close$m()</dt>

0 commit comments

Comments
 (0)