- From: Marcos Cáceres <notifications@github.com>
- Date: Wed, 23 Nov 2016 00:46:58 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Wednesday, 23 November 2016 08:47:55 UTC
I'm concerned about PaymentResponse's details attribute: ```IDL readonly attribute object details; ``` Which is set as: > Set the details attribute value of response to a JSON-serializable object containing the payment method specific message that will be used by the merchant to process the transaction. The format of this response will be defined for each payment method. Although the attribute is read-only, the object itself won't be. Maybe we want a `.getDetails()` method that always returns a new object - otherwise, this becomes racy if the `PaymentResponse` gets passed around. Developers could accidentally add new props to it, etc. which could cause weirdness in other parts of the application not expecting the value to change. -- 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/328
Received on Wednesday, 23 November 2016 08:47:55 UTC