252252 < dfn > Payment session</ dfn >
253253 </ dt >
254254 < dd >
255- An session between a [=monetization provider=] and [=monetization
255+ A session between a [=monetization provider=] and [=monetization
256256 receiver=] initiated by the [=user agent=] at the [=monetization
257257 receiver=]. One or more payments can be initiated by the
258258 [=monetization provider=] in a single session.
276276 < li > Users retain control of if, when, and how payments are made to the
277277 site. For example, micropayments of a predetermined monetary value
278278 could be "streamed" to the site over time. Alternatively, the user
279- could make one or many discreet "one-off" payment(s) of any arbitrary
279+ could make one or many discrete "one-off" payment(s) of any arbitrary
280280 monetary amount, even while micropayments are simultaneously being
281281 streamed.
282282 </ li >
301301 </ p >
302302 </ aside >
303303 < p >
304- The monetization keyword indicates a [=payment pointer=] used to
305- monetize the document.
304+ The < code data-x =" rel-monetization " > monetization </ code > keyword
305+ indicates a [=payment pointer=] used to monetize the document.
306306 </ p >
307307 < p >
308308 The < code data-x ="rel-monetization "> monetization</ code > keyword may be
322322 < p >
323323 The appropriate times to < span data-x =
324324 "fetch and process the linked resource "> fetch and process</ span > this
325- type of link is :
325+ type of link are :
326326 </ p >
327327 < ul >
328328 < li >
335335 < li >
336336 < p >
337337 When the < span > external resource link</ span > 's < code > link</ code >
338- element < span > becomes browsing-context connected</ span > .
338+ element becomes [= browsing-context connected=] .
339339 </ p >
340340 </ li >
341341 < li >
@@ -460,14 +460,14 @@ <h2>
460460 < ol >
461461 < li >
462462 < p >
463- If |response|'s status is not an OK status, the set |success| to
463+ If |response|'s status is not an OK status, then set |success| to
464464 false.
465465 </ p >
466466 </ li >
467467 < li >
468468 < p >
469469 Otherwise, if < var > response</ var > 's < span data-x =
470- "Content-Type "> Content-Type metadata</ span > is not a
470+ "Content-Type "> Content-Type metadata</ span > is not
471471 < code > application/json</ code > , then set < var > success</ var > to
472472 false.
473473 </ p >
498498 </ ol >
499499 </ div >
500500 < p >
501- If a "monetization" < code > link</ code > < span > becomes browsing-context
502- disconnected </ span > , a user agent MUST stop the [=payment session=].
501+ If a "monetization" < code > link</ code > is no longer [= browsing-context connected=],
502+ a user agent MUST stop the [=payment session=].
503503 </ p >
504504 </ section >
505505 < section >
550550 Task sources
551551 </ h2 >
552552 < p >
553- The following [=task source=] is defined by this specifications .
553+ The following [=task source=] is defined by this specification .
554554 </ p >
555555 < dl >
556556 < dt >
637637 </ p >
638638 < p >
639639 As such the {{MonetizationEvent}} no longer represents an amount
640- received, it represents an amount sent and returns a URL as the
640+ received; it represents an amount sent and returns a URL as the
641641 {{MonetizationEvent/incomingPayment}} attribute that can be used to
642642 determine the amount received.
643643 </ p >
740740 < p >
741741 The < a href =
742742 "https://html.spec.whatwg.org/#attr-iframe-allow "> allow</ a >
743- attributes only take effect when the content navigable of the iframe
744- is navigated. Adding or removing the monetization attribute has no
745- effect on an already-loaded document.
743+ attribute only takes effect when the navigable content of the
744+ [^iframe^] is navigated. Adding or removing the monetization
745+ attribute has no effect on an already-loaded document.
746746 </ p >
747747 </ aside >
748748 </ section >
@@ -798,10 +798,10 @@ <h4>
798798 directive for request" on |request|.
799799 </ li >
800800 < li > If the result of executing "Should fetch directive execute" on
801- |name|, `monetization-src` and |policy| is "No", return "Allowed".
801+ |name|, `monetization-src`, and |policy| is "No", return "Allowed".
802802 </ li >
803803 < li > If the result of executing "Does request match source list?" on
804- |request|, this directive's value, and |policy|, is "Does Not
804+ |request|, this directive's value, and |policy| is "Does Not
805805 Match", return "Blocked".
806806 </ li >
807807 < li > Return "Allowed".
@@ -824,11 +824,11 @@ <h4>
824824 directive for request" on |request|.
825825 </ li >
826826 < li > If the result of executing "Should fetch directive execute" on
827- |name|, `monetization-src` and |policy| is "No", return "Allowed".
827+ |name|, `monetization-src`, and |policy| is "No", return "Allowed".
828828 </ li >
829829 < li > If the result of executing "Does response to request match
830830 source list?" on |response|, |request|, this directive's value, and
831- |policy|, is "Does Not Match", return "Blocked".
831+ |policy| is "Does Not Match", return "Blocked".
832832 </ li >
833833 < li > Return "Allowed".
834834 </ li >
884884 Relation to Web Payments
885885 </ h2 >
886886 < p >
887- Unlike [[[Payment-Request]]] and the [[[Payment-Handler]]], which only
888- supports "one-off" payments, Web Monetization provides a [=payment
887+ Unlike the [[[Payment-Request]]] and the [[[Payment-Handler]]], which only
888+ support "one-off" payments, Web Monetization provides a [=payment
889889 session=] that supports both continuous payments and "one-off"
890890 payments.
891891 </ p >
0 commit comments