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

Issue 1928443003: service worker: Update job gets the script url when the job starts (Closed)

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

Description

service worker: Update job gets the script url when the job starts Previously, the update job would use the script url provided when the job was scheduled. This change fixes the crash when the update job starts after the registration has no versions, and also matches the spec. BUG=604991 Committed: https://crrev.com/96eb96d3903c9326cc797502c2d685177497069f Cr-Commit-Position: refs/heads/master@{#390320}

Patch Set 1 #

Total comments: 8

Patch Set 2 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -22 lines) Patch
M content/browser/service_worker/service_worker_job_coordinator.cc View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/browser/service_worker/service_worker_job_unittest.cc View 1 1 chunk +16 lines, -14 lines 0 comments Download
M content/browser/service_worker/service_worker_register_job.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/service_worker/service_worker_register_job.cc View 1 3 chunks +9 lines, -5 lines 0 comments Download
M content/browser/service_worker/service_worker_version.cc View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (4 generated)
falken
nhiroki can you review this?
4 years, 7 months ago (2016-04-27 07:26:12 UTC) #2
nhiroki
LGTM https://codereview.chromium.org/1928443003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/1928443003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc#newcode1135 content/browser/service_worker/service_worker_job_unittest.cc:1135: TEST_F(ServiceWorkerJobTest, Update_NewestVersionChanged) { Can you add a comment ...
4 years, 7 months ago (2016-04-28 05:51:46 UTC) #3
nhiroki
LGTM
4 years, 7 months ago (2016-04-28 05:51:47 UTC) #4
falken
https://codereview.chromium.org/1928443003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc File content/browser/service_worker/service_worker_job_unittest.cc (right): https://codereview.chromium.org/1928443003/diff/1/content/browser/service_worker/service_worker_job_unittest.cc#newcode1135 content/browser/service_worker/service_worker_job_unittest.cc:1135: TEST_F(ServiceWorkerJobTest, Update_NewestVersionChanged) { On 2016/04/28 05:51:46, nhiroki wrote: > ...
4 years, 7 months ago (2016-04-28 06:25:17 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928443003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928443003/20001
4 years, 7 months ago (2016-04-28 06:25:34 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-04-28 07:28:51 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:16:46 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/96eb96d3903c9326cc797502c2d685177497069f
Cr-Commit-Position: refs/heads/master@{#390320}

Powered by Google App Engine
This is Rietveld 408576698