Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiltd committed Dec 5, 2024
1 parent 2f697a3 commit 39e706f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion builtins/web/fetch/request-response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,6 @@ bool RequestOrResponse::parse_body(JSContext *cx, JS::HandleObject self, JS::Uni
return RejectPromiseWithPendingError(cx, result_promise);
}

// We can drop `buf` as the data has been now copied over to blob
result.setObject(*blob);
} else {
JS::RootedString text(cx, JS_NewStringCopyUTF8N(cx, JS::UTF8Chars(buf.get(), len)));
Expand Down

0 comments on commit 39e706f

Please sign in to comment.