LibWeb/XHR: Remove outdated FIXME about Streams not integrated in XHR
Some checks are pending
CI / macOS, arm64, Sanitizer, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer, Clang (push) Waiting to run
Package the js repl as a binary artifact / Linux, arm64 (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

Streams were integrated into XHR::send() in: https://github.com/SerenityOS/serenity/pull/24132
This commit is contained in:
Kenneth Myhra 2025-08-21 18:57:41 +02:00 committed by Tim Flynn
commit 4963dea504
Notes: github-actions[bot] 2025-08-26 11:19:59 +00:00

View file

@ -808,8 +808,6 @@ WebIDL::ExceptionOr<void> XMLHttpRequest::send(Optional<DocumentOrXMLHttpRequest
if (!length.has<u64>()) if (!length.has<u64>())
length = 0; length = 0;
// FIXME: We can't implement these steps yet, as we don't fully implement the Streams standard.
// 10. Let processBodyChunk given bytes be these steps: // 10. Let processBodyChunk given bytes be these steps:
auto process_body_chunks = GC::create_function(heap(), [this, length](ByteBuffer byte_buffer) { auto process_body_chunks = GC::create_function(heap(), [this, length](ByteBuffer byte_buffer) {
// 1. Append bytes to thiss received bytes. // 1. Append bytes to thiss received bytes.