DescriptionCacheStorage: 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 : #
Messages
Total messages: 14 (6 generated)
|