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

Issue 342163005: ServiceWorker: Reject overly long scope/script URLs (Closed)

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

Description

ServiceWorker: Reject overly long scope/script URLs IPC enforces a limit on receipt, but we should check on the sending side and reject the (un)registration promise too. BUG=386724 R=falken@chromium.org, michaeln@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278850

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fix formatting nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -1 line) Patch
M content/child/service_worker/service_worker_dispatcher.cc View 1 4 chunks +23 lines, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
jsbell
michaeln@, falken@ - please take a look? Any other suggestions welcome: * Should it be ...
6 years, 6 months ago (2014-06-20 00:01:07 UTC) #1
michaeln
On 2014/06/20 00:01:07, jsbell wrote: > michaeln@, falken@ - please take a look? > > ...
6 years, 6 months ago (2014-06-20 00:50:34 UTC) #2
falken
lgtm On 2014/06/20 00:50:34, michaeln wrote: > On 2014/06/20 00:01:07, jsbell wrote: > > michaeln@, ...
6 years, 6 months ago (2014-06-20 03:09:03 UTC) #3
falken
https://codereview.chromium.org/342163005/diff/1/content/child/service_worker/service_worker_dispatcher.cc File content/child/service_worker/service_worker_dispatcher.cc (right): https://codereview.chromium.org/342163005/diff/1/content/child/service_worker/service_worker_dispatcher.cc#newcode87 content/child/service_worker/service_worker_dispatcher.cc:87: scoped_ptr<WebServiceWorkerError> error( extra space here https://codereview.chromium.org/342163005/diff/1/content/child/service_worker/service_worker_dispatcher.cc#newcode108 content/child/service_worker/service_worker_dispatcher.cc:108: scoped_ptr<WebServiceWorkerError> error( ...
6 years, 6 months ago (2014-06-20 03:09:22 UTC) #4
jsbell
Thanks. I'll look at propagating the error and a layout test over on the blink ...
6 years, 6 months ago (2014-06-20 17:05:26 UTC) #5
jsbell
The CQ bit was checked by jsbell@chromium.org
6 years, 6 months ago (2014-06-20 17:05:32 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jsbell@chromium.org/342163005/20001
6 years, 6 months ago (2014-06-20 17:10:30 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium ...
6 years, 6 months ago (2014-06-20 20:25:41 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 20:36:33 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_aosp on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_aosp/builds/86184)
6 years, 6 months ago (2014-06-20 20:36:34 UTC) #10
jsbell
6 years, 6 months ago (2014-06-20 22:51:15 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 manually as r278850 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698