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

Issue 1898413002: CacheStorage: Sync up IDL with the cache storage spec. (Closed)

Created:
4 years, 8 months ago by zino
Modified:
4 years, 7 months ago
Reviewers:
nhiroki
CC:
chromium-reviews, blink-reviews, haraken
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CacheStorage: Sync up IDL with the cache storage spec. This CL syncs up IDL with the cache storage spec[1]. - cache/cachestorage.match() should be Promise<any> instead of Promise<Response> because it can resolve undefined. - cache.keys() should resolve Request's sequence. In Blink, the promise resolution types in .idl files are just annotations, so this change doesn't affect existing behavior. [1] https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#cache BUG=none Committed: https://crrev.com/8ba16cb01676c42c2cb46c7fe9e3fc8a710ae7a4 Cr-Commit-Position: refs/heads/master@{#390969}

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M third_party/WebKit/Source/modules/cachestorage/Cache.idl View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/cachestorage/CacheStorage.idl View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
zino
PTAL Thank you.
4 years, 8 months ago (2016-04-20 05:11:17 UTC) #3
nhiroki
Thank you for fixing this! lgtm https://codereview.chromium.org/1898413002/diff/1/third_party/WebKit/Source/modules/cachestorage/Cache.idl File third_party/WebKit/Source/modules/cachestorage/Cache.idl (right): https://codereview.chromium.org/1898413002/diff/1/third_party/WebKit/Source/modules/cachestorage/Cache.idl#newcode10 third_party/WebKit/Source/modules/cachestorage/Cache.idl:10: [CallWith=ScriptState, RaisesException] Promise<Response> ...
4 years, 8 months ago (2016-04-21 02:27:41 UTC) #4
nhiroki
> This change doesn't affect existing behavior. Can you mention why this change does not ...
4 years, 8 months ago (2016-04-25 03:29:14 UTC) #5
zino
On 2016/04/25 03:29:14, nhiroki (ooo until May 9) wrote: > > This change doesn't affect ...
4 years, 7 months ago (2016-05-02 10:57:30 UTC) #7
nhiroki
lgtm!
4 years, 7 months ago (2016-05-02 12:56:12 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1898413002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1898413002/20001
4 years, 7 months ago (2016-05-02 13:23:23 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-02 17:06:35 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-02 17:07:38 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8ba16cb01676c42c2cb46c7fe9e3fc8a710ae7a4
Cr-Commit-Position: refs/heads/master@{#390969}

Powered by Google App Engine
This is Rietveld 408576698