diff --git a/index.html b/index.html index f5a2f3d..17c2c1a 100644 --- a/index.html +++ b/index.html @@ -1171,11 +1171,10 @@

topLevelOrigin attribute

- This attribute is a string that indicates the origin of the top level payee web page. - The string MUST be formatted according to the "Unicode Serialization of an Origin" - algorithm defined in section 6.1 of [[!RFC6454]]. + This attribute is initialized by Handling a + PaymentRequestEvent.

@@ -1183,17 +1182,15 @@

paymentRequestOrigin attribute

- This attribute is a string that indicates the origin where a PaymentRequest was initialized. When a PaymentRequest is initialized in the topLevelOrigin, the attributes have the same value, otherwise the attributes have different values. For example, when a PaymentRequest is initialized within an iframe from an origin other than topLevelOrigin, the value of this - attribute is the origin of the iframe. The string MUST be formatted - according to the "Unicode - Serialization of an Origin" algorithm defined in section 6.1 of - [[!RFC6454]]. + attribute is the origin of the iframe. This attribute is + initialized by Handling a PaymentRequestEvent.

@@ -1481,7 +1478,7 @@

- Handling a PaymentRequestEvent + Handling a PaymentRequestEvent

Upon receiving a PaymentRequest by way of

  • Set the topLevelOrigin attribute - of e to the origin of the top level payee web page. + of e to the serialization of the + origin of the top level payee web page.
  • Set the paymentRequestOrigin - attribute of e to the origin of the context where - PaymentRequest was initialized. + attribute of e to the serialization of the + origin of the context where PaymentRequest was initialized.
  • Set the paymentRequestId