387
387
"https://www.w3.org/TR/html51/browsers.html#creating-a-new-browsing-context ">
388
388
creating a new browsing context</ a > </ dfn > , and < dfn > < a href =
389
389
"https://www.w3.org/TR/html51/webappapis.html#current "> current
390
- realm</ a > </ dfn > are defined by [[!HTML51]].
390
+ realm</ a > </ dfn > , < dfn > < a href =
391
+ "https://www.w3.org/TR/html51/webappapis.html#responsible-browsing-context ">
392
+ responsible browsing context</ a > </ dfn > are defined by [[!HTML51]].
391
393
</ p >
392
394
< p >
393
395
The term < dfn > < a href =
@@ -837,7 +839,11 @@ <h3>
837
839
by calling < code > < a for ="PresentationRequest "> start</ a > ()</ code > or
838
840
< code > < a for ="PresentationRequest "> reconnect</ a > ()</ code > , or
839
841
received a < a > presentation connection</ a > via a < a for =
840
- "PresentationRequest "> connectionavailable</ a > event.
842
+ "PresentationRequest "> connectionavailable</ a > event. In algorithms
843
+ for < a > < code > PresentationRequest</ code > </ a > , the < a > controlling
844
+ browsing context</ a > is the < a > responsible browsing context</ a > whose
845
+ < a > JavaScript realm</ a > was used to construct the
846
+ < a > < code > PresentationRequest</ code > </ a > .
841
847
</ p >
842
848
< p >
843
849
The < dfn data-lt =
@@ -1128,14 +1134,15 @@ <h4>
1128
1134
< a > Promise</ a > rejected with an < a > InvalidAccessError</ a > exception
1129
1135
and abort these steps.
1130
1136
</ li >
1131
- < li > Let < var > presentationUrls </ var > be the < a > presentation request
1132
- URLs </ a > of < var > presentationRequest </ var > .
1137
+ < li > Let < var > topContext </ var > be the < a > top-level browsing
1138
+ context </ a > of the < a > controlling browsing context </ a > .
1133
1139
</ li >
1134
1140
< li > If there is already an unsettled < a > Promise</ a > from a previous
1135
- call to < a for ="PresentationRequest "> start</ a > on any
1136
- < a > PresentationRequest</ a > in the same < a > controlling browsing
1137
- context</ a > , return a new < a > Promise</ a > rejected with an
1138
- < a > OperationError</ a > exception and abort all remaining steps.
1141
+ call to < a for ="PresentationRequest "> start</ a > in
1142
+ < var > topContext</ var > or any < a > browsing context</ a > in the < a > list
1143
+ of descendant browsing contexts</ a > of < var > topContext</ var > ,
1144
+ return a new < a > Promise</ a > rejected with an < a > OperationError</ a >
1145
+ exception and abort all remaining steps.
1139
1146
</ li >
1140
1147
< li > Let < var > P</ var > be a new < a > Promise</ a > .
1141
1148
</ li >
@@ -1148,6 +1155,9 @@ <h4>
1148
1155
< a > monitor the list of available presentation displays</ a > < a > in
1149
1156
parallel</ a > .
1150
1157
</ li >
1158
+ < li > Let < var > presentationUrls</ var > be the < a > presentation request
1159
+ URLs</ a > of < var > presentationRequest</ var > .
1160
+ </ li >
1151
1161
< li > Request user permission for the use of a < a > presentation
1152
1162
display</ a > and selection of one presentation display.
1153
1163
</ li >
0 commit comments