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

Issue 288693002: ServiceWorker: * is only wildcard at end of scope URLs (Closed)

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

Description

ServiceWorker: * is only wildcard at end of scope URLs BUG=372829 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272621

Patch Set 1 #

Total comments: 2

Patch Set 2 : const ref #

Total comments: 2

Patch Set 3 : Ignore query/fragment when matching #

Patch Set 4 : Update to match spec - fragments should never make it to the back end, query is matched #

Patch Set 5 : leaner #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -10 lines) Patch
M content/browser/service_worker/service_worker_utils.cc View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M content/browser/service_worker/service_worker_utils_unittest.cc View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
jsbell
Anyone? The spec says: A path expression consists of a relative url which may, optionally, ...
6 years, 7 months ago (2014-05-14 11:59:03 UTC) #1
jsbell
https://github.com/slightlyoff/ServiceWorker/issues/276
6 years, 7 months ago (2014-05-14 12:14:49 UTC) #2
falken
lgtm https://codereview.chromium.org/288693002/diff/1/content/browser/service_worker/service_worker_utils.cc File content/browser/service_worker/service_worker_utils.cc (right): https://codereview.chromium.org/288693002/diff/1/content/browser/service_worker/service_worker_utils.cc#newcode21 content/browser/service_worker/service_worker_utils.cc:21: const std::string scope_spec(scope.spec()); can it just be const ...
6 years, 7 months ago (2014-05-14 14:51:30 UTC) #3
jsbell
I still need an OWNER to approve. Anyone else? https://codereview.chromium.org/288693002/diff/1/content/browser/service_worker/service_worker_utils.cc File content/browser/service_worker/service_worker_utils.cc (right): https://codereview.chromium.org/288693002/diff/1/content/browser/service_worker/service_worker_utils.cc#newcode21 content/browser/service_worker/service_worker_utils.cc:21: ...
6 years, 7 months ago (2014-05-14 20:31:37 UTC) #4
kinuko
lgtm https://codereview.chromium.org/288693002/diff/20001/content/browser/service_worker/service_worker_utils.cc File content/browser/service_worker/service_worker_utils.cc (right): https://codereview.chromium.org/288693002/diff/20001/content/browser/service_worker/service_worker_utils.cc#newcode23 content/browser/service_worker/service_worker_utils.cc:23: if (len > 0 && scope_spec[len - 1] ...
6 years, 7 months ago (2014-05-14 23:44:23 UTC) #5
jsbell
https://codereview.chromium.org/288693002/diff/20001/content/browser/service_worker/service_worker_utils.cc File content/browser/service_worker/service_worker_utils.cc (right): https://codereview.chromium.org/288693002/diff/20001/content/browser/service_worker/service_worker_utils.cc#newcode23 content/browser/service_worker/service_worker_utils.cc:23: if (len > 0 && scope_spec[len - 1] == ...
6 years, 7 months ago (2014-05-16 07:05:45 UTC) #6
jsbell
FYI: filed https://github.com/slightlyoff/ServiceWorker/issues/284 to track rejecting the register/unregister request if there's a query or fragment ...
6 years, 7 months ago (2014-05-19 22:18:19 UTC) #7
jsbell
I've changed this so that in the URL-to-test the query & ref are ignored. (In ...
6 years, 7 months ago (2014-05-19 22:49:47 UTC) #8
jsbell
https://codereview.chromium.org/291263002/ should land first, which will ensure that scope doesn't have a fragment.
6 years, 7 months ago (2014-05-20 20:19:30 UTC) #9
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 7 months ago (2014-05-23 19:33:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/288693002/80001
6 years, 7 months ago (2014-05-23 19:34:53 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 22:46:14 UTC) #12
Message was sent while issue was closed.
Change committed as 272621

Powered by Google App Engine
This is Rietveld 408576698