LibWeb: Stub CacheStorage::has()

This is a step to get https://web.telegram.org/a/ login working.
This commit is contained in:
Aliaksandr Kalenik 2025-06-07 23:48:06 +02:00 committed by Alexander Kalenik
commit d8c86a2b09
Notes: github-actions[bot] 2025-06-08 16:27:26 +00:00
3 changed files with 9 additions and 1 deletions

View file

@ -4,7 +4,7 @@
[SecureContext, Exposed=(Window,Worker)]
interface CacheStorage {
//[NewObject] Promise<(Response or undefined)> match(RequestInfo request, optional MultiCacheQueryOptions options = {});
//[NewObject] Promise<boolean> has(DOMString cacheName);
[NewObject] Promise<boolean> has(DOMString cacheName);
[NewObject] Promise<Cache> open(DOMString cacheName);
//[NewObject] Promise<boolean> delete(DOMString cacheName);
//[NewObject] Promise<sequence<DOMString>> keys();