diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index d5160f90..7704c895 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -89,7 +89,7 @@ Web Platform Incubator Community Group.
- +Buying things on the @@ -133,50 +133,50 @@
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.
-- This specification defines one class of products: -
-- A user agent MUST behave as described in this specification +
+ This specification defines one class of products: +
++ A user agent MUST behave as described in this specification in order to be considered conformant. In this specification, user agent means a Web browser or other interactive user agent as defined in [[!HTML5]]. -
-- User agents MAY implement algorithms given in this - specification in any way desired, so long as the end result is - indistinguishable from the result that would be obtained by the - specification's algorithms. -
-- A conforming Payment Request API user agent MUST also be a - conforming implementation of the IDL fragments - of this specification, as described in the - “Web IDL” specification. [[!WEBIDL]]
- - ++ User agents MAY implement algorithms given in this + specification in any way desired, so long as the end result is + indistinguishable from the result that would be obtained by the + specification's algorithms. +
++ A conforming Payment Request API user agent MUST also be a + conforming implementation of the IDL fragments + of this specification, as described in the + “Web IDL” specification. [[!WEBIDL]] +
+ +- This specification relies on several other underlying specifications. -
-+ This specification relies on several other underlying specifications. +
+Event type and the terms fire an event, dispatch flag,
stop propagation flag, and stop immediate propagation flag are defined by [[!DOM4]].
@@ -249,7 +249,7 @@ The following example shows how to construct a PaymentRequest and begin the
+
The following example shows how to construct a PaymentRequest and begin the
user interaction:
@@ -408,7 +408,7 @@PaymentRequest constructor
Set the value of theshippingOptionattribute on request to null.
details contains a shippingOptions sequence with a
+ If details contains a shippingOptions sequence with a
length of 1, then set shippingOption to the id of
the only ShippingOption in the sequence.
details contains a shippingOptions sequence with a
+ If details contains a shippingOptions sequence with a
length of 1, then set newOption to the id of the only
ShippingOption in the sequence.
PaymentRequest
called request with an event name of name.
- It MUST run the following steps:
+It MUST run the following steps:
A user agent may not always be able to abort a request. For example, if the user agent has delegated responsibility for the request to another app. To support this situation, @@ -1070,6 +1071,14 @@
+ The architecture document suggests that payment apps may take + numerous forms, including as web-based apps. This specification + should describe how the user-agent will pass the payment request + data and the complete signal to a web-based payment app and also how + it will receive the payment response from the payment app. +
+We believe there are user agent configurations that can cause the UI to get into a state where cancellation by the web page during user interaction is difficult. Users should still