Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions specification/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ <h2>
<dfn>Payment session</dfn>
</dt>
<dd>
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.
Expand All @@ -276,7 +276,7 @@ <h2>
<li>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.
</li>
Expand All @@ -301,8 +301,8 @@ <h2>
</p>
</aside>
<p>
The monetization keyword indicates a [=payment pointer=] used to
monetize the document.
The <code data-x="rel-monetization">monetization</code> keyword
indicates a [=payment pointer=] used to monetize the document.
</p>
<p>
The <code data-x="rel-monetization">monetization</code> keyword may be
Expand All @@ -322,7 +322,7 @@ <h2>
<p>
The appropriate times to <span data-x=
"fetch and process the linked resource">fetch and process</span> this
type of link is:
type of link are:
</p>
<ul>
<li>
Expand All @@ -335,7 +335,7 @@ <h2>
<li>
<p>
When the <span>external resource link</span>'s <code>link</code>
element <span>becomes browsing-context connected</span>.
element becomes [=browsing-context connected=].
</p>
</li>
<li>
Expand Down Expand Up @@ -460,14 +460,14 @@ <h2>
<ol>
<li>
<p>
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.
</p>
</li>
<li>
<p>
Otherwise, if <var>response</var>'s <span data-x=
"Content-Type">Content-Type metadata</span> is not a
"Content-Type">Content-Type metadata</span> is not
<code>application/json</code>, then set <var>success</var> to
false.
</p>
Expand Down Expand Up @@ -498,8 +498,8 @@ <h2>
</ol>
</div>
<p>
If a "monetization" <code>link</code> <span>becomes browsing-context
disconnected</span>, a user agent MUST stop the [=payment session=].
If a "monetization" <code>link</code> is no longer [=browsing-context connected=],
a user agent MUST stop the [=payment session=].
</p>
</section>
<section>
Expand Down Expand Up @@ -550,7 +550,7 @@ <h2>
Task sources
</h2>
<p>
The following [=task source=] is defined by this specifications.
The following [=task source=] is defined by this specification.
</p>
<dl>
<dt>
Expand Down Expand Up @@ -637,7 +637,7 @@ <h2>
</p>
<p>
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.
</p>
Expand Down Expand Up @@ -740,9 +740,9 @@ <h2>
<p>
The <a href=
"https://html.spec.whatwg.org/#attr-iframe-allow">allow</a>
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.
</p>
</aside>
</section>
Expand Down Expand Up @@ -798,10 +798,10 @@ <h4>
directive for request" on |request|.
</li>
<li>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".
</li>
<li>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".
</li>
<li>Return "Allowed".
Expand All @@ -824,11 +824,11 @@ <h4>
directive for request" on |request|.
</li>
<li>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".
</li>
<li>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".
</li>
<li>Return "Allowed".
</li>
Expand Down Expand Up @@ -884,8 +884,8 @@ <h2>
Relation to Web Payments
</h2>
<p>
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.
</p>
Expand Down