mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
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. |
||
|---|---|---|
| .. | ||
| CacheStorage.cpp | ||
| CacheStorage.h | ||
| CacheStorage.idl | ||
| EventNames.cpp | ||
| EventNames.h | ||
| Job.cpp | ||
| Job.h | ||
| Registration.cpp | ||
| Registration.h | ||
| ServiceWorker.cpp | ||
| ServiceWorker.h | ||
| ServiceWorker.idl | ||
| ServiceWorkerContainer.cpp | ||
| ServiceWorkerContainer.h | ||
| ServiceWorkerContainer.idl | ||
| ServiceWorkerGlobalScope.cpp | ||
| ServiceWorkerGlobalScope.h | ||
| ServiceWorkerGlobalScope.idl | ||
| ServiceWorkerRecord.cpp | ||
| ServiceWorkerRecord.h | ||
| ServiceWorkerRegistration.cpp | ||
| ServiceWorkerRegistration.h | ||
| ServiceWorkerRegistration.idl | ||