commit | f133df216f18a91227ec716542ae8c5e5c8e16ed | [log] [tgz] |
---|---|---|
author | jinho.bang <jinho.bang@samsung.com> | Wed Dec 16 09:08:38 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Dec 16 09:09:38 2015 |
tree | 5914b1cd09ceef6053300478f561024ed9ce0ca7 | |
parent | 433ddcbf9f0c48cd3e25a9d0f252709d440dde26 [diff] |
ServiceWorker: Reject SecurityError instead of NotSupportedError. According to the spec[1], we should reject SecurityError rather than NotSupportedError if client is not a secure context. [1] https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html BUG=570231 Review URL: https://codereview.chromium.org/1532463003 Cr-Commit-Position: refs/heads/master@{#365507}