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

Issue 519803002: Support embedded created Response objects in ServiceWorker. (Closed)

Created:
6 years, 3 months ago by gavinp
Modified:
6 years, 3 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, falken, horo+watch_chromium.org, jamesr, jsbell+serviceworker_chromium.org, kinuko+serviceworker, michaeln, nhiroki, serviceworker-reviews, tzik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@2e-request
Project:
blink
Visibility:
Public.

Description

Support embedded created Response objects in ServiceWorker. Response objects were previously created in Blink and provided to the embedder; however the Cache API requires that they can cross the other way. This CL adds the accessors required to do this; both to fill in a Response object from a WebServiceWorkerResponse and to allow Blink to read all the fields in a WebServiceWorkerResponse. R=jkarlin@chromium.org,jsbell@chromium.org,asanka@chromium.org BUG=399178 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181327

Patch Set 1 #

Patch Set 2 : add a test #

Patch Set 3 : really add a test #

Patch Set 4 : narrow test a bit #

Total comments: 6

Patch Set 5 : remediation #

Patch Set 6 : rebase to trunk, now just waiting on upstream CL #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -1 line) Patch
M Source/modules/modules.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/serviceworkers/Response.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M Source/modules/serviceworkers/Response.cpp View 1 2 3 4 5 3 chunks +46 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/ResponseTest.cpp View 1 2 3 4 1 chunk +62 lines, -0 lines 0 comments Download
M Source/platform/exported/WebServiceWorkerResponse.cpp View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M public/platform/WebServiceWorkerResponse.h View 3 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
jsbell
lgtm for what it does, with some minor nits. I think we'll have to replace ...
6 years, 3 months ago (2014-08-29 17:53:23 UTC) #1
gavinp
Thanks. I agree there's a good amount of downstream work to be done on Response. ...
6 years, 3 months ago (2014-08-29 18:28:38 UTC) #2
gavinp
jochen: PTAL at API changes in particular.
6 years, 3 months ago (2014-09-02 13:14:41 UTC) #4
jochen (gone - plz use gerrit)
lgtm
6 years, 3 months ago (2014-09-03 09:06:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/519803002/100001
6 years, 3 months ago (2014-09-03 15:57:01 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-03 16:30:00 UTC) #8
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as 181327

Powered by Google App Engine
This is Rietveld 408576698