Skip to content

Commit e1018c5

Browse files
youennfdalecurtis
authored andcommitted
Use is not origin-clean concept in VideoFrame constructor
1 parent 5c30e12 commit e1018c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

index.src.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
type: dfn; text: bitmap data; url: imagebitmap-and-animations.html#concept-imagebitmap-bitmap-data
4040
for: Canvas;
4141
type: dfn; text: Check the usability of the image argument; url: canvas.html#check-the-usability-of-the-image-argument
42+
type: dfn; text: is not origin-clean; url: canvas.html#the-image-argument-is-not-origin-clean
4243
for: webappapis;
4344
type: dfn; text: entry settings object; url: webappapis.html#entry-settings-object
4445
for: media;
@@ -3335,10 +3336,7 @@
33353336
1. [=Canvas/Check the usability of the image argument=]. If this throws an
33363337
exception or returns <var ignore=''>bad</var>, then throw an
33373338
{{InvalidStateError}} {{DOMException}}.
3338-
2. If the [=/origin=] of |image|'s image data is not [=same origin=]
3339-
with the [=webappapis/entry settings object=]'s
3340-
[=/origin=], then throw a {{SecurityError}}
3341-
{{DOMException}}.
3339+
2. If |image| [=Canvas/is not origin-clean=], then throw a {{SecurityError}} {{DOMException}}.
33423340
3. Let |frame| be a new {{VideoFrame}}.
33433341
5. Switch on |image|:
33443342

0 commit comments

Comments
 (0)