commit | 59a2e54eeb0e61971a0c27c44c54dd0c30b5d06d | [log] [tgz] |
---|---|---|
author | falken <falken@chromium.org> | Tue Jun 07 05:06:12 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Jun 07 05:08:31 2016 |
tree | 2bacfa634d739454e2f0067218fd87b988d8ebdf | |
parent | 4f046e8566d5fc9b8ad8f1e1bed20422bbab36e3 [diff] |
service worker: Don't control a subframe of an insecure context We must check isSecureContext when creating the network provider to adhere to https://w3c.github.io/webappsec/specs/powerfulfeatures/#settings-privileged. We already did this for getRegistration(), register(), unregister() but must also do this when deciding whether to control an in-scope document. BUG=607543 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2009453002 Cr-Commit-Position: refs/heads/master@{#398229}