diff --git a/index.html b/index.html index 1746c40..c48635e 100644 --- a/index.html +++ b/index.html @@ -291,8 +291,9 @@

context of {{Promise}} objects are used as defined in [[!ECMASCRIPT]].

- The terms Accept-Language - and HTTP authentication are + The terms Accept-Language and + HTTP authentication are used as defined in [[!RFC9110]].

@@ -840,6 +841,10 @@

Unless otherwise specified, the JavaScript realm for script objects constructed by algorithm steps is the current realm. + Unless otherwise specified, all global tasks use the networking task source associated + with the global object of the + current realm.

@@ -1037,6 +1042,10 @@

Selecting a presentation display

+

+ The global tasks queued in these steps use the user interaction task source. +

When the start method is called, the @@ -1104,16 +1113,17 @@

Then run the following steps:
  1. - Reject P with a {{NotFoundError}} - exception. + Queue a global + task to reject P with a + {{NotFoundError}} exception.
  2. Abort all remaining steps.
-
  • If the user denies permission to use a display, reject - P with an {{NotAllowedError}} exception, and abort all - remaining steps. +
  • If the user denies permission to use a display, + queue a global task to reject P with an + {{NotAllowedError}} exception, and abort all remaining steps.
  • Otherwise, the user grants permission to use a display; let D be that display. @@ -1250,10 +1260,10 @@

    S.

  • - Queue a task to [=fire an event=] named connectionavailable, that uses the - PresentationConnectionAvailableEvent interface, with the - Queue a global task to [=fire an event=] named + connectionavailable, + that uses the PresentationConnectionAvailableEvent + interface, with the connection attribute initialized to S, at presentationRequest. The event must not bubble and must not be cancelable. @@ -1341,8 +1351,8 @@

    PresentationConnection.

  • - Resolve P with - existingConnection. + Queue a global task to resolve P + with existingConnection.
  • If the presentation connection state of existingConnection is presentations.
  • - Resolve P with newConnection. + Queue a global task to resolve P + with newConnection.
  • - Queue a task to [=fire an event=] named + Queue a global task to [=fire an event=] named connectionavailable, that uses the PresentationConnectionAvailableEvent interface, with @@ -1426,7 +1437,8 @@

  • - Reject P with a {{NotFoundError}} exception. + Queue a global task to reject P with a + {{NotFoundError}} exception.
  • @@ -1620,8 +1632,8 @@

    then:
    1. - Reject P with a {{NotSupportedError}} - exception. + Queue a global task to reject P with + a {{NotSupportedError}} exception.
    2. Abort all the remaining steps.
    3. @@ -1631,8 +1643,8 @@

      presentationRequest is not null, then:
      1. - Resolve P with the request's - presentation display availability. + Queue a global task to resolve P + with the request's presentation display availability.
      2. Abort all the remaining steps.
      3. @@ -1657,7 +1669,8 @@

      4. - Resolve P with A. + Queue a global task to resolve P with + A.
      @@ -2220,8 +2233,8 @@

  • - Queue a task to [=fire an event|fire=] event at - presentationConnection. + Queue a global task to [=fire an event|fire=] + event at presentationConnection.
  • @@ -2386,7 +2399,7 @@

    presentationConnection, then abort the remaining steps.
  • - Queue a task to run the following steps: + Queue a global task to run the following steps:
    1. If the presentation connection state of presentationConnection is not the set of presentation controllers.
    2. If the presentation controllers promise is not - null, resolve the presentation - controllers promise with the presentation controllers - monitor. + null, queue a global task to resolve + the presentation controllers promise with the + presentation controllers monitor.
    3. Abort all remaining steps.
    4. @@ -2934,7 +2947,7 @@

      the set of presentation controllers.
    5. - Queue a task to [=fire an event=] named + Queue a global task to [=fire an event=] named connectionavailable, that uses the PresentationConnectionAvailableEvent