Re: [w3c/push-api] Secure contexts (#282)

The Push API predates `[SecureContext]`, so it's just an oversight.

I see that [`ServiceWorkerRegistration`](https://w3c.github.io/ServiceWorker/v1/#serviceworkerregistration-interface) is also marked as `[SecureContext]`, which is a dependency. Neither [Chromium's](https://cs.chromium.org/chromium/src/third_party/WebKit/Source/modules/serviceworkers/ServiceWorkerRegistration.idl?q=serviceworkerregistration&sq=package:chromium&dr=C&l=5) nor [Firefox'](https://github.com/mozilla/gecko-dev/blob/HEAD/dom/webidl/ServiceWorkerRegistration.webidl) implementations have been updated, so I wonder if they think it's safe to apply the change?

Semantically this should be `[SecureContext]`, we just have to make sure it's Web compatible. I'll figure out if we have a way of measuring this.

/cc @mattto @jakearchibald 

-- 
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/push-api/issues/282#issuecomment-323751536

Received on Monday, 21 August 2017 14:05:38 UTC