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
Review-Url: https://codereview.chromium.org/1898413002
Cr-Commit-Position: refs/heads/master@{#390969}
2 files changed