commit | ad1850962644e19cdb040d60eb236e0ebc23c243 | [log] [tgz] |
---|---|---|
author | falken <falken@chromium.org> | Thu Jun 16 06:10:02 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 16 06:11:56 2016 |
tree | 00022ddaf359e5a0a0495e51cb71c1c48680521b | |
parent | a4123685765478a14349e959be9ca83545b4c06c [diff] |
Reland: 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 TBR=reviewers from the original review Original review: https://codereview.chromium.org/2009453002 Review-Url: https://codereview.chromium.org/2071433003 Cr-Commit-Position: refs/heads/master@{#400093}