[w3c/payment-handler] Add [SecureContext, SameObject] to paymentManager attribute (#293)

We don't need to create a new object when accessing paymentManager
attribute. So, we just add `[SameObject]`.

This PR also adds [SecureContext] to the attribute because it is only
allowed in secure context.

Implementation commitment:

 * [x] Chrome (http://crrev.com/c/1013660)
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/payment-handler/pull/293

-- Commit Summary --

  * Add [SecureContext, SameObject] to paymentManager attribute

-- File Changes --

    M index.html (2)

-- Patch Links --

https://github.com/w3c/payment-handler/pull/293.patch
https://github.com/w3c/payment-handler/pull/293.diff

-- 
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/pull/293

Received on Sunday, 15 April 2018 07:42:53 UTC