ladybird/Libraries/LibWeb/ServiceWorker
Timothy Flynn f675cfe90f LibWeb: Store HTTP methods and headers as ByteString
The spec declares these as a byte sequence, which we then implemented as
a ByteBuffer. This has become pretty awkward to deal with, as evidenced
by the plethora of `MUST(ByteBuffer::copy(...))` and `.bytes()` calls
everywhere inside Fetch. We would then treat the bytes as a string
anyways by wrapping them in StringView everywhere.

We now store these as a ByteString. This is more comfortable to deal
with, and we no longer need to continually copy underlying storage (as
ByteString is ref-counted).

This work is largely preparatory for an upcoming HTTP header refactor.
2025-11-26 09:15:06 -05:00
..
CacheStorage.cpp LibJS+LibWeb: Port interned bytecode strings to UTF-16 2025-08-14 10:27:08 +02:00
CacheStorage.h LibWeb: Stub CacheStorage::has() 2025-06-08 18:26:13 +02:00
CacheStorage.idl LibWeb: Stub CacheStorage::has() 2025-06-08 18:26:13 +02:00
EventNames.cpp LibWeb/ServiceWorker: Add ServiceWorker event names 2025-04-25 11:02:53 +02:00
EventNames.h LibWeb/ServiceWorker: Add ServiceWorker event names 2025-04-25 11:02:53 +02:00
Job.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Job.h LibGC: Rename MarkedVector => RootVector 2024-12-26 19:10:44 +01:00
Registration.cpp LibWeb: Implement nagivator.serviceWorker.getRegistration() 2025-01-30 15:18:43 -07:00
Registration.h Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ServiceWorker.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
ServiceWorker.h LibWeb: Implement nagivator.serviceWorker.getRegistration() 2025-01-30 15:18:43 -07:00
ServiceWorker.idl LibWeb: Move ServiceWorker classes to ServiceWorker namespace 2024-11-30 11:19:35 +01:00
ServiceWorkerContainer.cpp LibWeb: Make Trusted Types injection sink names more readable 2025-11-06 11:43:06 -05:00
ServiceWorkerContainer.h LibWeb: Hook TrustedTypes to the ServiceWorkers api 2025-10-13 13:22:01 +01:00
ServiceWorkerContainer.idl LibWeb: Hook TrustedTypes to the ServiceWorkers api 2025-10-13 13:22:01 +01:00
ServiceWorkerGlobalScope.cpp LibWeb: Remove now-unused Resource and ResourceClient 2025-11-05 18:27:36 +01:00
ServiceWorkerGlobalScope.h LibWeb: Add initial CookieStore support 2025-08-08 13:09:58 -04:00
ServiceWorkerGlobalScope.idl LibWeb: Add initial CookieStore support 2025-08-08 13:09:58 -04:00
ServiceWorkerRecord.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ServiceWorkerRecord.h LibWeb/ServiceWorker: Add some FIXME comments for updatedResources logic 2025-04-21 15:26:38 -06:00
ServiceWorkerRegistration.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
ServiceWorkerRegistration.h LibWeb: Implement nagivator.serviceWorker.getRegistration() 2025-01-30 15:18:43 -07:00
ServiceWorkerRegistration.idl LibWeb: Implement nagivator.serviceWorker.getRegistration() 2025-01-30 15:18:43 -07:00