[w3c/payment-handler] Only allows instrument.set() in active service worker (#224)

Like other service worker family features, we should only allow
instrument.set() in active service worker.

This fixes #223 issue.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Only allows instrument.set() in active service worker

-- File Changes --

    M index.html (33)

-- Patch Links --

https://github.com/w3c/payment-handler/pull/224.patch
https://github.com/w3c/payment-handler/pull/224.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/224

Received on Monday, 27 November 2017 08:53:10 UTC