mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Delete unused BufferPolicy from fetch Request
This is no longer needed since all requests are unbuffered.
This commit is contained in:
parent
16b0f1e6c2
commit
0eb28a1a54
Notes:
github-actions[bot]
2025-11-20 11:30:41 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 0eb28a1a54
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6839
Reviewed-by: https://github.com/trflynn89 ✅
3 changed files with 0 additions and 17 deletions
|
|
@ -78,10 +78,6 @@ WebIDL::ExceptionOr<GC::Ref<EventSource>> EventSource::construct_impl(JS::Realm&
|
|||
// 12. Set request's initiator type to "other".
|
||||
request->set_initiator_type(Fetch::Infrastructure::Request::InitiatorType::Other);
|
||||
|
||||
// AD-HOC: We must not buffer the response as the connection generally never ends, thus we can't wait for the end
|
||||
// of the response body.
|
||||
request->set_buffer_policy(Fetch::Infrastructure::Request::BufferPolicy::DoNotBufferResponse);
|
||||
|
||||
// 13. Set ev's request to request.
|
||||
event_source->m_request = request;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue