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

Issue 314133002: Initial ServiceWorker Cache API polyfill. (Closed)

Created:
6 years, 6 months ago by gavinp
Modified:
6 years, 6 months ago
CC:
blink-reviews, jsbell+serviceworker_chromium.org, tzik, serviceworker-reviews, nhiroki, falken, kinuko+serviceworker, horo+watch_chromium.org, alecflett+watch_chromium.org
Visibility:
Public.

Description

Initial ServiceWorker Cache API polyfill. A basic Cache API. No serialization of any kind, no testing, and no add() method, as it depends on Fetch(). R=falken@chromium.org,jkarlin@chromium.org TBR=jochen@chromium.org BUG=374822 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175749

Patch Set 1 #

Patch Set 2 : remove old Cache, fix copyright #

Patch Set 3 : rebase #

Patch Set 4 : really fix copyright #

Total comments: 25

Patch Set 5 : clean up, remediate to review. #

Total comments: 4

Patch Set 6 : add comment #

Total comments: 6

Patch Set 7 : jsbell + falken reviews #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -0 lines) Patch
M Source/modules/modules.gyp View 1 chunk +27 lines, -0 lines 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerGlobalScope.cpp View 2 chunks +4 lines, -0 lines 0 comments Download
A Source/modules/serviceworkers/polyfills/cachePolyfill.js View 1 2 3 4 5 6 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
gavinp
PTAL. Note this is downstream of https://codereview.chromium.org/311343002/ , which makes me confused about submitting blink ...
6 years, 6 months ago (2014-06-05 14:28:18 UTC) #1
gavinp
On 2014/06/05 14:28:18, gavinp wrote: > PTAL. Note this is downstream of https://codereview.chromium.org/311343002/ , > ...
6 years, 6 months ago (2014-06-05 15:14:31 UTC) #2
jsbell
Mostly style feedback, but the missing `return`s are important. (I wasn't looking at the Cache ...
6 years, 6 months ago (2014-06-05 18:06:01 UTC) #3
gavinp
Remediated to jsbell's review, and went through myself comparing to the spec and our style ...
6 years, 6 months ago (2014-06-06 16:06:45 UTC) #4
gavinp
Also, this CL is now rooted on trunk. Yay!
6 years, 6 months ago (2014-06-06 16:07:09 UTC) #5
falken
I think this looks good to me, just one comment about the delete() function. https://codereview.chromium.org/314133002/diff/80001/Source/modules/serviceworkers/polyfills/cachePolyfill.js ...
6 years, 6 months ago (2014-06-06 17:02:45 UTC) #6
jsbell
lgtm with some nits https://codereview.chromium.org/314133002/diff/100001/Source/modules/serviceworkers/polyfills/cachePolyfill.js File Source/modules/serviceworkers/polyfills/cachePolyfill.js (right): https://codereview.chromium.org/314133002/diff/100001/Source/modules/serviceworkers/polyfills/cachePolyfill.js#newcode35 Source/modules/serviceworkers/polyfills/cachePolyfill.js:35: return Promise.resolve(Array.prototype.concat.apply([], Object.keys(this.entriesByMethod).map(function (method) { ...
6 years, 6 months ago (2014-06-06 17:25:32 UTC) #7
gavinp
Thank you everybody for your help. Do we have a Blink coding standard for js? ...
6 years, 6 months ago (2014-06-06 21:39:55 UTC) #8
gavinp
Added jochen as TBR for changes to modules.gyp.
6 years, 6 months ago (2014-06-06 21:53:26 UTC) #9
gavinp
The CQ bit was checked by gavinp@chromium.org
6 years, 6 months ago (2014-06-07 16:54:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/314133002/120001
6 years, 6 months ago (2014-06-07 16:55:02 UTC) #11
commit-bot: I haz the power
Change committed as 175749
6 years, 6 months ago (2014-06-07 17:57:02 UTC) #12
dcheng
A revert of this CL has been created in https://codereview.chromium.org/319383003/ by dcheng@chromium.org. The reason for ...
6 years, 6 months ago (2014-06-07 22:59:04 UTC) #13
gavinp
6 years, 6 months ago (2014-06-09 11:57:12 UTC) #14
Message was sent while issue was closed.
See https://codereview.chromium.org/325683003/ for the reland of this.

Powered by Google App Engine
This is Rietveld 408576698