@@ -347,13 +347,6 @@ <h2>
347347title ="Definition of 'parse a url' in HTML "> defined in HTML</ a >
348348 [[!HTML]]
349349</ li >
350- < li >
351- < dfn > list of descendant browsing contexts</ dfn > ,< a href =
352- "https://html.spec.whatwg.org/multipage/browsers.html#list-of-the-descendant-browsing-contexts "
353- title =
354- "Definition of 'list of descendant browsing contexts' in HTML "> defined
355- in HTML</ a > [[!HTML]]
356- </ li >
357350< li >
358351< dfn > creating a new browsing context</ dfn > ,< a href =
359352 "https://html.spec.whatwg.org/multipage/browsers.html#creating-a-new-browsing-context "
@@ -379,6 +372,12 @@ <h2>
379372title ="Definition of 'navigate to a fragment' in HTML "> defined in
380373 HTML</ a > [[!HTML]]
381374</ li >
375+ < li >
376+ < dfn > unload a document</ dfn > ,< a href =
377+ "https://html.spec.whatwg.org/multipage/document-lifecycle.html#unload-a-document "
378+ title ="Definition of 'unload a document' in HTML "> defined in HTML</ a >
379+ [[!HTML]]
380+ </ li >
382381< li >
383382< dfn > database</ dfn > ,< a href =
384383 "https://www.w3.org/TR/IndexedDB/#database "title =
853852</ p >
854853< p >
855854 The< a > task source</ a > for the tasks mentioned in this specification
856- is the< dfn > presentation task source</ dfn > .
855+ is the< var > presentation task source</ var > .
857856</ p >
858857< p >
859858 Unless otherwise specified, the< a > JavaScript realm</ a > for script
936935 readonly attribute PresentationReceiver? receiver;
937936 };
938937
939- </ pre >
938+ </ pre >
940939< p >
941940 The< dfn data-dfn-for ="Presentation "> < code > receiver</ code > </ dfn >
942941 attribute MUST return the< a > PresentationReceiver</ a > instance
945944 context</ a > is< a data-lt =
946945 "create a receiving browsing context "> created</ a > . In any other
947946< a > browsing context</ a > (including< a data-lt =
948- "nested browsing context "> nested browsing contexts</ a > of the
949- < a > receiving browsing context</ a > ) it MUST return
950- < code > null</ code > .
947+ "child navigable "> child navigables</ a > of the< a > receiving browsing
948+ context</ a > ) it MUST return< code > null</ code > .
951949</ p >
952950< p class ="note ">
953951 Web developers can use< a data-lt =
@@ -1079,17 +1077,17 @@ <h4>
10791077</ dd >
10801078</ dl >
10811079< ol >
1082- < li > If the document's [=browsing context /active window=] does not
1083- have [=transient activation=], return a {{Promise}} rejected with
1084- an {{InvalidAccessError}} exception and abort these steps.
1080+ < li > If the document's [=navigable /active window=] does not have
1081+ [=transient activation=], return a {{Promise}} rejected with an
1082+ {{InvalidAccessError}} exception and abort these steps.
10851083</ li >
10861084< li > Let< var > topContext</ var > be the< a > top-level browsing
10871085 context</ a > of the< a > controlling browsing context</ a > .
10881086</ li >
10891087< li > If there is already an unsettled {{Promise}} from a previous
10901088 call to< a data-link-for ="PresentationRequest "> start</ a > in
1091- < var > topContext</ var > or any< a > browsing context</ a > in the< a > list
1092- of descendantbrowsing contexts </ a > of< var > topContext</ var > ,
1089+ < var > topContext</ var > or any< a > browsing context</ a > in the
1090+ [=Document/ descendantnavigables=] of< var > topContext</ var > ,
10931091 return a new {{Promise}} rejected with an {{OperationError}}
10941092 exception and abort all remaining steps.
10951093</ li >
@@ -1308,7 +1306,7 @@ <h4>
13081306< p >
13091307 When the< dfn data-dfn-for ="PresentationRequest "> reconnect</ dfn >
13101308 method is called, the< a > user agent</ a > MUST run the following
1311- steps to< dfn > reconnect to a presentation</ dfn > :
1309+ steps to reconnect to a presentation:
13121310</ p >
13131311< dl >
13141312< dt >
@@ -1426,7 +1424,8 @@ <h4>
14261424< a > Resolve</ a > < var > P</ var > with< var > newConnection</ var > .
14271425</ li >
14281426< li >
1429- < a > Queue a task</ a > to [=fire an event=] named< a data-link-for =
1427+ < a > Queue a task</ a > to [=fire an event=] named
1428+ < a data-link-for =
14301429 "PresentationRequest "> connectionavailable</ a > , that uses the
14311430< a > PresentationConnectionAvailableEvent</ a > interface, with
14321431 the< a data-link-for =
@@ -1825,9 +1824,10 @@ <h4>
18251824</ pre >
18261825< p >
18271826 A< a > controlling user agent</ a > [=fire an event|fires an event=]
1828- named< a data-link-for ="PresentationRequest "> connectionavailable</ a >
1829- on a< a > PresentationRequest</ a > when a connection associated with
1830- the object is created. It is fired at the< a > PresentationRequest</ a >
1827+ named< a data-link-for =
1828+ "PresentationRequest "> connectionavailable</ a > on a
1829+ < a > PresentationRequest</ a > when a connection associated with the
1830+ object is created. It is fired at the< a > PresentationRequest</ a >
18311831 instance, using the< a > PresentationConnectionAvailableEvent</ a >
18321832 interface, with the< a data-link-for =
18331833 "PresentationConnectionAvailableEvent "> connection</ a > attribute set
@@ -1947,11 +1947,11 @@ <h3>
19471947</ li >
19481948</ ul >
19491949< div class ="note ">
1950- A< a data-link-for ="PresentationConnectionState "> connected</ a > state
1951- does not mean that sending or receiving messages will succeed, as
1952- the communication channel may be abruptly closed at any time.
1953- Applications that wish to detect such situations as soon as possible
1954- should implement their own keep-alive mechanism.
1950+ A< a data-link-for ="PresentationConnectionState "> connected</ a >
1951+ state does not mean that sending or receiving messages will
1952+ succeed, as the communication channel may be abruptly closed at any
1953+ time. Applications that wish to detect such situations as soon as
1954+ possible should implement their own keep-alive mechanism.
19551955</ div >
19561956< p >
19571957 When the< dfn > close</ dfn > method is called on a
@@ -2436,8 +2436,8 @@ <h4>
24362436 attribute initialized to< var > closeReason</ var > and the
24372437< a data-link-for ="PresentationConnectionCloseEvent "> message</ a >
24382438 attribute initialized to< var > closeMessage</ var > , at
2439- < var > presentationConnection</ var > . The event must not bubble and
2440- must not be cancelable.
2439+ < var > presentationConnection</ var > . The event must not bubble
2440+ and must not be cancelable.
24412441</ li >
24422442</ ol >
24432443</ li >
@@ -2476,8 +2476,8 @@ <h4>
24762476< var > known connection</ var > to< a data-link-for =
24772477 "PresentationConnectionState "> terminated</ a > .
24782478</ li >
2479- < li > [=Fire an event=] named< code > terminate</ code > at
2480- < var > known connection</ var > .
2479+ < li > [=Fire an event=] named< code > terminate</ code > at< var >
2480+ known connection</ var > .
24812481</ li >
24822482</ ol >
24832483</ li >
@@ -2547,9 +2547,9 @@ <h4>
25472547</ li >
25482548< li > If there is a< a > receiving browsing context</ a > for
25492549< var > P</ var > , and it has a document for< var > P</ var > that is not
2550- unloaded,< a > unload a document</ a > corresponding to that
2551- < a > browsing context</ a > , remove that< a > browsing context</ a > from
2552- the user interface and< a > discard</ a > it.
2550+ unloaded,< a > unload a document</ a > corresponding to that< a > browsing
2551+ context</ a > , remove that< a > browsing context</ a > from the user
2552+ interface and discard it.
25532553</ li >
25542554< li > For each< var > connection</ var > in
25552555< var > connectedControllers</ var > ,< a > queue a task</ a > to send a
@@ -2568,10 +2568,10 @@ <h4>
25682568 Handling a termination confirmation in a controlling user agent
25692569</ h4 >
25702570< p >
2571- When a< a > receiving user agent</ a > is to< dfn > send a termination
2572- confirmation</ dfn > for a presentation< var > P</ var > , and that
2573- confirmation was received by a< a > controlling user agent</ a > , the
2574- < a > controlling user agent</ a > MUST run the following steps:
2571+ When a< a > receiving user agent</ a > is to send a termination
2572+ confirmation for a presentation< var > P</ var > , and that confirmation
2573+ was received by a< a > controlling user agent</ a > , the< a > controlling
2574+ user agent</ a > MUST run the following steps:
25752575</ p >
25762576< ol >
25772577< li > For each< var > connection</ var > in the< a > set of controlled
@@ -2729,8 +2729,9 @@ <h4>
27292729 auxiliary navigation browsing context flag</ a > on< var > C</ var > .
27302730</ li >
27312731< li > If the< a > receiving user agent</ a > implements [[!PERMISSIONS]],
2732- set the< a > permission state</ a > of all [=powerful feature/permission
2733- descriptor types=] for< var > C</ var > to< code > "denied"</ code > .
2732+ set the< a > permission state</ a > of all [=powerful
2733+ feature/permission descriptor types=] for< var > C</ var > to
2734+ < code > "denied"</ code > .
27342735</ li >
27352736< li > Create a new empty< a > cookie store</ a > for< var > C</ var > .
27362737</ li >
@@ -2758,8 +2759,7 @@ <h4>
27582759</ li >
27592760</ ol >
27602761< p >
2761- All< a data-lt ="nested browsing context "> nested browsing
2762- contexts</ a > < a data-lt =
2762+ All< a data-lt ="child navigable "> child navigables</ a > < a data-lt =
27632763 "creating a new browsing context "> created</ a > by the presented
27642764 document, i.e. that have the< a > receiving browsing context</ a > as
27652765 their< a data-lt ="top-level browsing context "> top-level browsing
@@ -2792,17 +2792,17 @@ <h4>
27922792< p >
27932793 [=service worker client/window client|Window clients=] and
27942794 [=service worker client/worker client|worker clients=] associated
2795- with the< a > receiving browsing context</ a > and its< a > list of
2796- descendantbrowsing contexts </ a > must not be exposed to< a > service
2795+ with the< a > receiving browsing context</ a > and its
2796+ [=Document/ descendantnavigables=] must not be exposed to< a > service
27972797 workers</ a > associated with each other.
27982798</ p >
27992799< p >
28002800 When the< a > receiving browsing context</ a > is terminated, any
28012801< a > service workers</ a > associated with it and the< a > browsing
2802- contexts</ a > in its< a > list of descendantbrowsing contexts </ a >
2802+ contexts</ a > in its[=Document/ descendantnavigables=]
28032803 MUST be unregistered and terminated. Any browsing state associated
28042804 with the< a > receiving browsing context</ a > and the< a > browsing
2805- contexts</ a > in its< a > list of descendantbrowsing contexts </ a > ,
2805+ contexts</ a > in its[=Document/ descendantnavigables=] ,
28062806 including< a > session history</ a > , the< a > cookie store</ a > , any
28072807< a > HTTP authentication</ a > state, any< a > databases</ a > , the
28082808< a > session storage areas</ a > , the< a > local storage areas</ a > , the
@@ -3088,9 +3088,9 @@ <h3>
30883088< p >
30893089 Display of the origin requesting presentation will help the user
30903090 understand what content is making the request, especially when
3091- the request is initiated from a< a > nested browsing context </ a > .
3092- For example, embedded content may try to convince the user to
3093- click to trigger a request to start an unwanted presentation.
3091+ the request is initiated from a< a > child navigable </ a > . For
3092+ example, embedded content may try to convince the user to click
3093+ to trigger a request to start an unwanted presentation.
30943094</ p >
30953095< p >
30963096 The< a > sandboxed top-level navigation without user activation