LibWeb: Delete unused BufferPolicy from fetch Request

This is no longer needed since all requests are unbuffered.
This commit is contained in:
Aliaksandr Kalenik 2025-11-17 03:47:06 +01:00 committed by Tim Flynn
parent 16b0f1e6c2
commit 0eb28a1a54
Notes: github-actions[bot] 2025-11-20 11:30:41 +00:00
3 changed files with 0 additions and 17 deletions

View file

@ -264,7 +264,6 @@ GC::Ref<Request> Request::clone(JS::Realm& realm) const
new_request->set_prevent_no_cache_cache_control_header_modification(m_prevent_no_cache_cache_control_header_modification);
new_request->set_done(m_done);
new_request->set_timing_allow_failed(m_timing_allow_failed);
new_request->set_buffer_policy(m_buffer_policy);
// 2. If requests body is non-null, set newRequests body to the result of cloning requests body.
if (auto const* body = m_body.get_pointer<GC::Ref<Body>>())