Skip to content

Fix incorrect caches.match() type definition #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 14, 2019

Conversation

philipwalton
Copy link
Contributor

The CacheStorage.match() method is correctly defined in the IDL doc, but then the overrides file sets the type to the incorrect value.

See here that the spec uses MultiCacheQueryOptions for the CacheStorage interface:
https://w3c.github.io/ServiceWorker/#cachestorage-interface

@philipwalton
Copy link
Contributor Author

Note, some tests are failing, but those tests were failing before I made my changes, and no additional tests were failing after I made my changes.

@sandersn
Copy link
Member

webworker baselines weren't updated so I updated them.

@sandersn sandersn merged commit 7ae23db into microsoft:master Nov 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants