Introduce the directory restriction of ServiceWorker scope in chromium side.
commit8782077ef772d6eec4b3e308a9351e2495db7412
authorhoro <horo@chromium.org>
Tue, 28 Oct 2014 02:13:22 +0000 (27 19:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 28 Oct 2014 02:13:37 +0000 (28 02:13 +0000)
tree5dc197a2e7cd7a99f57f12b00e4e6745179e96a4
parentf9e1ec0a8f08bd75275b21fe67bb1ecff0030d38
Introduce the directory restriction of ServiceWorker scope in chromium side.

This restriction doesn't allow registration of the ServiceWorker scope outside the script directory.
As per discussion on https://github.com/slightlyoff/ServiceWorker/issues/468

BUG=423983

Review URL: https://codereview.chromium.org/677003002

Cr-Commit-Position: refs/heads/master@{#301547}
content/browser/service_worker/service_worker_dispatcher_host.cc
content/browser/service_worker/service_worker_dispatcher_host_unittest.cc