Skip to content

Commit bdbef68

Browse files
authored
Add security/privacy considerations to View Transitions
Also fix a typo in indentation.
1 parent ab9873e commit bdbef68

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

css-view-transitions-1/Overview.bs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
851851
1. Set |document|'s [=document/active DOM transition=] to null.
852852

853853
1. If |transition|'s [=ViewTransition/ready promise=] has not yet been resolved, [=reject=] it with |reason|.
854-
Note: The ready promise would've been resolved if skipTransition() is called after we start animating.
854+
Note: The ready promise would've been resolved if skipTransition() is called after we start animating.
855855

856856
1. [=Reject=] |transition|'s [=ViewTransition/finished promise=] with |reason|.
857857
</div>
@@ -1132,3 +1132,12 @@ The {{ViewTransition/domUpdated}} [=getter steps=] are to return [=this's=] [=Vi
11321132
* If |callbackPromise| was rejected with reason |r|, then [=reject=] |transition|'s [=ViewTransition/DOM updated promise=] with |r|.
11331133

11341134
</div>
1135+
1136+
<h2 id="priv-sec">
1137+
Privacy and Security Considerations</h2>
1138+
1139+
The images generated using [=capture the image=] algorithm could contain cross-origin data if the Document is embedding cross-origin resources. The
1140+
implementations must sure this data can not be accessed by the Document. This should be feasible since access to this data should already be prevented
1141+
in the default rendering of the Document.
1142+
1143+
This feature introduces no privacy considerations.

0 commit comments

Comments
 (0)