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}
4 files changed