Re: Intent to implement and ship: isSecureContext attribute on workers

2016-09-23 Thread Ben Kelly
On Sep 23, 2016 9:15 PM, "Boris Zbarsky" > Concerns: No one else implements this so far, and it does add one interesting requirement: it requires that shared workers not be shared between secure and insecure contexts. Whichever one creates the shared worker first wins; the other creation attempt

Intent to implement and ship: isSecureContext attribute on workers

2016-09-23 Thread Boris Zbarsky
Summary: This gives workers an isSecureContext property on the global, like we already have for windows. Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1269052 Spec: https://w3c.github.io/webappsec-secure-contexts/#monkey-patching-global-object and