Propagate CanGc when interacting with readable streams. (#33975)

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2024-10-23 07:49:59 -04:00 committed by GitHub
parent f553bda7eb
commit 12e6ec25aa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 80 additions and 57 deletions

View file

@ -477,7 +477,7 @@ impl RequestMethods for Request {
// Step 37.1 TODO "If init["keepalive"] exists and is true..."
// Step 37.2
let mut extracted_body = init_body.extract(global)?;
let mut extracted_body = init_body.extract(global, can_gc)?;
// Step 37.3
if let Some(contents) = extracted_body.content_type.take() {