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

Issue 1027113002: Service Worker: Add a timeout for inflight requests. (Closed)

Created:
5 years, 9 months ago by falken
Modified:
5 years, 9 months ago
Reviewers:
kinuko
CC:
chromium-reviews, michaeln, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, jam, nhiroki, darin-cc_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Service Worker: Add a timeout for inflight requests. As reasoned on the bug, if an event has not been fulfilled within 5 minutes, call the callback with ERROR_TIMEOUT and stop the worker. BUG=372436 Committed: https://crrev.com/d05209674f5bf7bad0e37fa07247e2dbf9684642 Cr-Commit-Position: refs/heads/master@{#322133}

Patch Set 1 #

Patch Set 2 : event #

Total comments: 6

Patch Set 3 : comments #

Patch Set 4 : dont use std::queue::swap #

Unified diffs Side-by-side diffs Delta from patch set Stats (+212 lines, -15 lines) Patch
M content/browser/service_worker/service_worker_version.h View 1 6 chunks +38 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 2 3 16 chunks +114 lines, -14 lines 0 comments Download
M content/browser/service_worker/service_worker_version_unittest.cc View 1 2 4 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
falken
PTL
5 years, 9 months ago (2015-03-25 03:57:25 UTC) #2
kinuko
lgtm https://codereview.chromium.org/1027113002/diff/20001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/1027113002/diff/20001/content/browser/service_worker/service_worker_version.cc#newcode320 content/browser/service_worker/service_worker_version.cc:320: const int ServiceWorkerVersion::kRequestTimeoutMinutes = 5; I assume we ...
5 years, 9 months ago (2015-03-25 04:18:04 UTC) #3
kinuko
On 2015/03/25 04:18:04, kinuko wrote: > lgtm ...except for the compile failure :)
5 years, 9 months ago (2015-03-25 04:18:39 UTC) #4
falken
Thanks! https://codereview.chromium.org/1027113002/diff/20001/content/browser/service_worker/service_worker_version.cc File content/browser/service_worker/service_worker_version.cc (right): https://codereview.chromium.org/1027113002/diff/20001/content/browser/service_worker/service_worker_version.cc#newcode320 content/browser/service_worker/service_worker_version.cc:320: const int ServiceWorkerVersion::kRequestTimeoutMinutes = 5; On 2015/03/25 04:18:03, ...
5 years, 9 months ago (2015-03-25 06:10:01 UTC) #5
falken
On 2015/03/25 04:18:39, kinuko wrote: > On 2015/03/25 04:18:04, kinuko wrote: > > lgtm > ...
5 years, 9 months ago (2015-03-25 06:54:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1027113002/60001
5 years, 9 months ago (2015-03-25 06:55:36 UTC) #9
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 9 months ago (2015-03-25 08:37:07 UTC) #10
commit-bot: I haz the power
5 years, 9 months ago (2015-03-25 08:38:06 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d05209674f5bf7bad0e37fa07247e2dbf9684642
Cr-Commit-Position: refs/heads/master@{#322133}

Powered by Google App Engine
This is Rietveld 408576698