diff --git a/specification/index.html b/specification/index.html index 11b42c8c..22df4191 100644 --- a/specification/index.html +++ b/specification/index.html @@ -252,7 +252,7 @@

Payment session
- An session between a [=monetization provider=] and [=monetization + A session between a [=monetization provider=] and [=monetization receiver=] initiated by the [=user agent=] at the [=monetization receiver=]. One or more payments can be initiated by the [=monetization provider=] in a single session. @@ -276,7 +276,7 @@

  • Users retain control of if, when, and how payments are made to the site. For example, micropayments of a predetermined monetary value could be "streamed" to the site over time. Alternatively, the user - could make one or many discreet "one-off" payment(s) of any arbitrary + could make one or many discrete "one-off" payment(s) of any arbitrary monetary amount, even while micropayments are simultaneously being streamed.
  • @@ -301,8 +301,8 @@

    - The monetization keyword indicates a [=payment pointer=] used to - monetize the document. + The monetization keyword + indicates a [=payment pointer=] used to monetize the document.

    The monetization keyword may be @@ -322,7 +322,7 @@

    The appropriate times to fetch and process this - type of link is: + type of link are:

    • @@ -335,7 +335,7 @@

    • When the external resource link's link - element becomes browsing-context connected. + element becomes [=browsing-context connected=].

    • @@ -460,14 +460,14 @@

      1. - If |response|'s status is not an OK status, the set |success| to + If |response|'s status is not an OK status, then set |success| to false.

      2. Otherwise, if response's Content-Type metadata is not a + "Content-Type">Content-Type metadata is not application/json, then set success to false.

        @@ -498,8 +498,8 @@

      - If a "monetization" link becomes browsing-context - disconnected, a user agent MUST stop the [=payment session=]. + If a "monetization" link is no longer [=browsing-context connected=], + a user agent MUST stop the [=payment session=].

      @@ -550,7 +550,7 @@

      Task sources

      - The following [=task source=] is defined by this specifications. + The following [=task source=] is defined by this specification.

      @@ -637,7 +637,7 @@

      As such the {{MonetizationEvent}} no longer represents an amount - received, it represents an amount sent and returns a URL as the + received; it represents an amount sent and returns a URL as the {{MonetizationEvent/incomingPayment}} attribute that can be used to determine the amount received.

      @@ -740,9 +740,9 @@

      The allow - attributes only take effect when the content navigable of the iframe - is navigated. Adding or removing the monetization attribute has no - effect on an already-loaded document. + attribute only takes effect when the navigable content of the + [^iframe^] is navigated. Adding or removing the monetization + attribute has no effect on an already-loaded document.

      @@ -798,10 +798,10 @@

      directive for request" on |request|.

    • If the result of executing "Should fetch directive execute" on - |name|, `monetization-src` and |policy| is "No", return "Allowed". + |name|, `monetization-src`, and |policy| is "No", return "Allowed".
    • If the result of executing "Does request match source list?" on - |request|, this directive's value, and |policy|, is "Does Not + |request|, this directive's value, and |policy| is "Does Not Match", return "Blocked".
    • Return "Allowed". @@ -824,11 +824,11 @@

      directive for request" on |request|.

    • If the result of executing "Should fetch directive execute" on - |name|, `monetization-src` and |policy| is "No", return "Allowed". + |name|, `monetization-src`, and |policy| is "No", return "Allowed".
    • If the result of executing "Does response to request match source list?" on |response|, |request|, this directive's value, and - |policy|, is "Does Not Match", return "Blocked". + |policy| is "Does Not Match", return "Blocked".
    • Return "Allowed".
    • @@ -884,8 +884,8 @@

      Relation to Web Payments

      - Unlike [[[Payment-Request]]] and the [[[Payment-Handler]]], which only - supports "one-off" payments, Web Monetization provides a [=payment + Unlike the [[[Payment-Request]]] and the [[[Payment-Handler]]], which only + support "one-off" payments, Web Monetization provides a [=payment session=] that supports both continuous payments and "one-off" payments.