Commit Graph

7 Commits

Author SHA1 Message Date
Andrew Kaster
eac6c59e68 LibWeb: Add ServiceWorker job registration and execution
Now we can register jobs and they will be executed on the event loop
"later". This doesn't feel like the right place to execute them, but
the spec needs some updates in this regard anyway.

(cherry picked from commit 29416befe640eae7bf44b72e3f4ad42a1e397701)
2024-11-17 13:47:42 -05:00
Andrew Kaster
84972616d7 LibWeb: Start implementing serviceWorker.register
This is mostly the fun boilerplate. Actually creating the Job queue
to do the heavy lifting is next.

(cherry picked from commit c77d9a2732b9325079bca713e4c97d75a0f6a54d)
2024-11-17 11:03:57 -05:00
Andrew Kaster
1fe27532b2 LibWeb: Add service worker client to ServiceWorkerContainer
(cherry picked from commit 0ece40c466dbd6c43fc9b0707d32b3d5d42fe751)
2024-11-16 14:12:55 -05:00
Andrew Kaster
7e5cbf8d3e LibWeb: Add oncontrollerchange to ServiceWorkerContainer
(cherry picked from commit 4df280689b5c7f4df53cdcb1c61cb3fed99461c6)
2024-11-16 14:12:55 -05:00
Jamie Mansfield
b20a9496f5 LibWeb: Implement ServiceWorkerContainer.onmessageerror
(cherry picked from commit f1098b4226bde9e574995a63eb3580be537d563d)
2024-11-09 12:29:58 -05:00
Jamie Mansfield
02d9f6186a LibWeb: Implement ServiceWorkerContainer.onmessage
(cherry picked from commit 4b1273cbde387b8f10d488ad90512ecb76b567cc)
2024-11-09 12:29:58 -05:00
Tim Ledbetter
8ef2496882 LibWeb: Stub the ServiceWorkerContainer interface
(cherry picked from commit 53ab6fa403ac774d6edb76c33a9b0f460eea9640)
2024-11-04 13:16:23 -05:00