Re: [w3c/browser-payment-api] PaymentAddress and null values (#495)

For my own sanity, I can see: 

1. In PR constructor: PaymentRequest.shippingAddress is initially null. 
2. "shippingaddresschange" losely sets PaymentRequest.shippingAddress, as per OP above. 
3. When `PaymentResponse` is created, `PaymentResponse.shippingAddress` is a reference to `PaymentRequest.shippingAddress`. 

Noting this assumes that there is _always_ a "shippingaddresschange" event fired before `PaymentResponse` is constructed (and returned via the `[[acceptPromise]]`). 

Is that correct? @domenic? 


-- 
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/browser-payment-api/issues/495#issuecomment-291078854

Received on Monday, 3 April 2017 08:26:11 UTC