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

Issue 2518523003: Limit timeout for foreign fetch events when triggered by another service worker. (Closed)

Created:
4 years, 1 month ago by Marijn Kruisselbrink
Modified:
4 years ago
Reviewers:
falken
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, horo+watch_chromium.org, jam, jsbell+serviceworker_chromium.org, kinuko+watch, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, shimazu+serviceworker_chromium.org, tzik
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Limit timeout for foreign fetch events when triggered by another service worker. BUG=648836 Committed: https://crrev.com/57c41f066cffadb2301263bda7811231d2db02f5 Cr-Commit-Position: refs/heads/master@{#436431}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : add unit tests #

Total comments: 3

Patch Set 4 : rebase #

Patch Set 5 : don't intercept worker main resource fetches #

Unified diffs Side-by-side diffs Delta from patch set Stats (+263 lines, -16 lines) Patch
M content/browser/service_worker/foreign_fetch_request_handler.h View 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/service_worker/foreign_fetch_request_handler.cc View 1 2 3 4 6 chunks +22 lines, -4 lines 0 comments Download
M content/browser/service_worker/foreign_fetch_request_handler_unittest.cc View 1 2 3 4 8 chunks +178 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_browsertest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_context_wrapper.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_controllee_request_handler.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.h View 1 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_fetch_dispatcher.cc View 1 3 chunks +23 lines, -7 lines 0 comments Download
M content/browser/service_worker/service_worker_provider_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_storage.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.h View 3 chunks +3 lines, -0 lines 0 comments Download
M content/browser/service_worker/service_worker_url_request_job.cc View 3 chunks +4 lines, -1 line 0 comments Download
M content/browser/service_worker/service_worker_url_request_job_unittest.cc View 1 2 5 chunks +19 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (26 generated)
Marijn Kruisselbrink
https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc File content/browser/service_worker/foreign_fetch_request_handler_unittest.cc (right): https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc#newcode311 content/browser/service_worker/foreign_fetch_request_handler_unittest.cc:311: // EXPECT_FALSE(InitializeHandler(kValidUrl, RESOURCE_TYPE_WORKER, nullptr /* It surprised me a ...
4 years ago (2016-12-02 00:15:03 UTC) #14
falken
lgtm https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc File content/browser/service_worker/foreign_fetch_request_handler_unittest.cc (right): https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc#newcode311 content/browser/service_worker/foreign_fetch_request_handler_unittest.cc:311: // EXPECT_FALSE(InitializeHandler(kValidUrl, RESOURCE_TYPE_WORKER, nullptr /* On 2016/12/02 00:15:02, ...
4 years ago (2016-12-05 04:34:48 UTC) #21
Marijn Kruisselbrink
https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc File content/browser/service_worker/foreign_fetch_request_handler_unittest.cc (right): https://codereview.chromium.org/2518523003/diff/40001/content/browser/service_worker/foreign_fetch_request_handler_unittest.cc#newcode311 content/browser/service_worker/foreign_fetch_request_handler_unittest.cc:311: // EXPECT_FALSE(InitializeHandler(kValidUrl, RESOURCE_TYPE_WORKER, nullptr /* On 2016/12/05 at 04:34:48, ...
4 years ago (2016-12-05 20:46:52 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2518523003/80001
4 years ago (2016-12-05 21:03:13 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-05 22:34:45 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-05 22:38:00 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/57c41f066cffadb2301263bda7811231d2db02f5
Cr-Commit-Position: refs/heads/master@{#436431}

Powered by Google App Engine
This is Rietveld 408576698