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

Issue 308053003: ServiceWorker: Strip away fragments from document url (Closed)

Created:
6 years, 6 months ago by nhiroki
Modified:
6 years, 6 months ago
Reviewers:
michaeln, jsbell
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, kinuko+serviceworker, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

ServiceWorker: Strip away fragments from document url Fragments (e.g. "#hoge") in document url should be stripped before it's passed to the SW because it's not necessary to match registrations. BUG=379048 TEST=manual (open a controlled page whose URL contains fragments) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274479

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_provider_host.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_storage.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
nhiroki
Hi, can you take a look? Thanks!
6 years, 6 months ago (2014-05-30 08:09:54 UTC) #1
michaeln
https://codereview.chromium.org/308053003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc File content/browser/service_worker/service_worker_controllee_request_handler.cc (right): https://codereview.chromium.org/308053003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc#newcode57 content/browser/service_worker/service_worker_controllee_request_handler.cc:57: const GURL& stripped_url(net::SimplifyUrlForRequest(request->url())); const GURL&, doesn't look right here ...
6 years, 6 months ago (2014-05-30 23:38:47 UTC) #2
nhiroki
Updated. Can you take another look? Thanks! https://codereview.chromium.org/308053003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc File content/browser/service_worker/service_worker_controllee_request_handler.cc (right): https://codereview.chromium.org/308053003/diff/20001/content/browser/service_worker/service_worker_controllee_request_handler.cc#newcode57 content/browser/service_worker/service_worker_controllee_request_handler.cc:57: const GURL& ...
6 years, 6 months ago (2014-06-02 06:26:08 UTC) #3
michaeln
lgtm!
6 years, 6 months ago (2014-06-02 19:00:20 UTC) #4
nhiroki
The CQ bit was checked by nhiroki@chromium.org
6 years, 6 months ago (2014-06-02 22:12:05 UTC) #5
nhiroki
The CQ bit was unchecked by nhiroki@chromium.org
6 years, 6 months ago (2014-06-02 22:12:19 UTC) #6
nhiroki
The CQ bit was checked by nhiroki@chromium.org
6 years, 6 months ago (2014-06-03 01:40:43 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/308053003/80001
6 years, 6 months ago (2014-06-03 01:42:28 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 03:14:19 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 04:48:39 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_chromeos_clang_dbg/builds/20518)
6 years, 6 months ago (2014-06-03 04:48:39 UTC) #11
nhiroki
The CQ bit was checked by nhiroki@chromium.org
6 years, 6 months ago (2014-06-03 04:57:36 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nhiroki@chromium.org/308053003/80001
6 years, 6 months ago (2014-06-03 04:59:03 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-06-03 06:58:27 UTC) #14
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 12:13:51 UTC) #15
Message was sent while issue was closed.
Change committed as 274479

Powered by Google App Engine
This is Rietveld 408576698