Commit Graph

8 Commits

Author SHA1 Message Date
Shannon Booth
fd44da6829 LibWeb/Bindings: Emit one bindings header and cpp per IDL
Previously, the LibWeb bindings generator would output multiple per
interface files like Prototype/Constructor/Namespace/GlobalMixin
depending on the contents of that IDL file.

This complicates the build system as it means that it does not know
what files will be generated without knowledge of the contents of that
IDL file.

Instead, for each IDL file only generate a single Bindings/<IDLFile>.h
and Bindings/<IDLFile>.cpp.
2026-04-21 07:36:13 +02:00
Timothy Flynn
fd0f3adcb5 LibWeb: Remove steps to set a cache request's initiator and destination
These requests are meant to mimic calling fetch() directly, thus these
fields should be the empty string, which is the default value.

See: https://github.com/w3c/ServiceWorker/commit/d04904e
2026-04-09 16:05:09 +02:00
Timothy Flynn
48e1b807af LibWeb: Implement Cache.delete 2026-04-03 11:04:12 +02:00
Timothy Flynn
b9ad7743b4 LibWeb: Implement Cache.keys 2026-04-03 11:04:12 +02:00
Timothy Flynn
e2d0ed4beb LibWeb: Implement Cache.match and Cache.matchAll 2026-04-03 11:04:12 +02:00
Timothy Flynn
a478e3a30d LibWeb: Implement Cache.put 2026-04-03 11:04:12 +02:00
Timothy Flynn
c0aa056d26 LibWeb: Implement Cache.add and Cache.addAll 2026-04-03 11:04:12 +02:00
Timothy Flynn
2e2a99a379 LibWeb: Add a stub for the Cache interface
The Cache and CacheStorage interfaces are quite intertwined. A Cache
object can only be created through CacheStorage, so the Cache interface
cannot be tested on its own. So adding just this stub will allow
implementing the CacheStorage interfaces that create Cache objects. We
can then implement the Cache interface piecemeal.
2026-04-03 11:04:12 +02:00