whatwg / html

HTML Standard
https://html.spec.whatwg.org/multipage/
Other
8.17k stars 2.69k forks source link

Enabling service workers when opener is not a secure context #2687

Open annevk opened 7 years ago

annevk commented 7 years ago

From https://github.com/w3c/ServiceWorker/issues/890#issuecomment-236001563:

Refining the above, seems like we should auto-disown opener for service worker controlled pages if opener is a non-secure context.

The current text that tries to accomplish this is broken as discovered in #2671.

@mikewest what exactly is the story of secure contexts and auxiliary browsing contexts?

annevk commented 7 years ago

cc @jungkees @jakearchibald