diff --git a/index.html b/index.html index fa6cb96..212b5f2 100644 --- a/index.html +++ b/index.html @@ -702,22 +702,25 @@

context.

- The set of controlling presentations, initially empty, + The set of controlled presentations, initially empty, contains the presentation connections created by the controlling browsing contexts for the controlling user agent (or a specific user profile within that user agent). The - set of controlling presentations is represented by a list of + set of controlled presentations is represented by a list of PresentationConnection objects that represent the underlying - presentation connections. The presentation URL and - presentation identifier uniquely identify a presentation - connection in this set. + presentation connections. Several + PresentationConnection objects may share the same + presentation URL and presentation identifier in that + set, but there can be only one PresentationConnection with a + specific presentation URL and presentation identifier + for a given controlling browsing context.

- The set of incoming presentations, initially empty, + The set of presentation controllers, initially empty, contains the presentation connections created by a receiving browsing context for the receiving user - agent. The set of incoming presentations is represented by - a list of PresentationConnection objects that represent the + agent. The set of presentation controllers is represented + by a list of PresentationConnection objects that represent the underlying presentation connections. All presentation connections in this set share the same presentation URL and presentation identifier. @@ -741,9 +744,9 @@

The presentation attribute is used to retrieve an instance of the Presentation - If presentation is disabled, the attribute MUST return null. - Otherwise, it MUST return the Presentation - instance. + interface. If presentation is disabled, the attribute MUST + return null. Otherwise, it MUST return the + Presentation instance.

@@ -953,7 +956,7 @@

  • Let I be a new valid presentation identifier unique among all presentation identifiers for known - presentation connections in the set of controlling + presentation connections in the set of controlled presentations.
  • Create a new PresentationConnection S. @@ -967,8 +970,7 @@

  • Set the presentation connection state of S to connecting.
  • -
  • Add S to the set of controlling - presentations. +
  • Add S to the set of controlled presentations.
  • Resolve P with S. @@ -1060,7 +1062,7 @@

  • Return P, but continue running these steps in parallel.
  • -
  • Search the set of controlling presentations for a +
  • Search the set of controlled presentations for a PresentationConnection that meets the following criteria: its controlling browsing context is the current browsing context, its presentation connection state is not @@ -1104,9 +1106,9 @@

  • -
  • Search the set of controlling presentations for the - first PresentationConnection that meets the following - criteria: its presentation connection state is not Search the set of controlled presentations for the first + PresentationConnection that meets the following criteria: + its presentation connection state is not terminated, its presentation URL is equal to the presentation request URL of presentationRequest, and its presentation @@ -1128,7 +1130,7 @@

    S to connecting.

  • -
  • Add S to the set of controlling +
  • Add S to the set of controlled presentations.
  • @@ -2028,7 +2030,7 @@

    connected, then abort these steps.

  • Otherwise, for each known connection in the set - of controlling presentations in the controlling user + of controlled presentations in the controlling user agent:
    1. If the presentation identifier of known @@ -2078,7 +2080,7 @@

      SHOULD run the following steps:

        -
      1. For each connection in the set of controlling +
      2. For each connection in the set of controlled presentations that was connected to the receiving browsing context, queue a task to run the following steps:
          @@ -2279,7 +2281,7 @@

          The connections attribute MUST return the non-terminated set of presentation connections - in the set of incoming presentations. + in the set of presentation controllers.

          @@ -2311,7 +2313,7 @@

        1. Set the presentation connection state of S to connected.
        2. -
        3. Add S to the set of incoming presentations. +
        4. Add S to the set of presentation controllers.
        5. Queue a task to fire a trusted event with @@ -2445,7 +2447,7 @@

          This specification allows a user agent to publish information about its - set of controlling presentations, and allows a browsing context + set of controlled presentations, and allows a browsing context on another user agent to connect to a running presentation via reconnect(). To connect, the additional browsing context must discover the presentation URL and