Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Issue 677003002: [ServiceWorker] Introduce the directory restriction of ServiceWorker scope in chromium side. (Closed)

Created:
6 years, 2 months ago by horo
Modified:
6 years, 1 month ago
Reviewers:
falken
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/8782077ef772d6eec4b3e308a9351e2495db7412 Cr-Commit-Position: refs/heads/master@{#301547}

Patch Set 1 : #

Total comments: 14

Patch Set 2 : incorporated falken's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -1 line) Patch
M content/browser/service_worker/service_worker_dispatcher_host.cc View 1 4 chunks +30 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_dispatcher_host_unittest.cc View 1 3 chunks +74 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
horo
falken@ Could you please review this? https://codereview.chromium.org/672383003/ was reverted because of the chromium side test ...
6 years, 2 months ago (2014-10-25 01:40:00 UTC) #3
falken
looks good, with some suggestions. > https://codereview.chromium.org/672383003/ was reverted because of the chromium side test ...
6 years, 1 month ago (2014-10-27 03:54:18 UTC) #6
horo
https://codereview.chromium.org/677003002/diff/60001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/677003002/diff/60001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode61 content/browser/service_worker/service_worker_dispatcher_host.cc:61: 0, slash_pos + 1, script_url.spec(), 0, slash_pos + 1) ...
6 years, 1 month ago (2014-10-27 09:14:12 UTC) #8
falken
lgtm https://codereview.chromium.org/677003002/diff/60001/content/browser/service_worker/service_worker_dispatcher_host.cc File content/browser/service_worker/service_worker_dispatcher_host.cc (right): https://codereview.chromium.org/677003002/diff/60001/content/browser/service_worker/service_worker_dispatcher_host.cc#newcode61 content/browser/service_worker/service_worker_dispatcher_host.cc:61: 0, slash_pos + 1, script_url.spec(), 0, slash_pos + ...
6 years, 1 month ago (2014-10-28 00:55:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/677003002/100001
6 years, 1 month ago (2014-10-28 01:15:39 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:100001)
6 years, 1 month ago (2014-10-28 02:13:42 UTC) #12
commit-bot: I haz the power
6 years, 1 month ago (2014-10-28 02:14:09 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8782077ef772d6eec4b3e308a9351e2495db7412
Cr-Commit-Position: refs/heads/master@{#301547}

Powered by Google App Engine
This is Rietveld 408576698