[w3c/payment-handler] Origin definitions are imprecise (#263)

> Set the paymentRequestOrigin attribute of e to the origin of the context where PaymentRequest was initialized. 

This one's easy to fix up. You want the PaymentRequest's relevant settings object's origin.

> Set the topLevelOrigin attribute of e to the origin of the top level payee web page. 

This one is trickier. You probably want to say something involving a top-level browsing context's active document's origin. But I'm not sure which top-level browsing context you want to specify. That of the PaymentRequest? That of the UI element that created the PaymentRequest (which may be different)? There's lots of possibilites...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/issues/263

Received on Friday, 16 March 2018 02:52:19 UTC