aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r--components/script/fetch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs
index 334805ec471..6037e3c0965 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -154,7 +154,7 @@ pub fn Fetch(
// Step 7. Let responseObject be null.
// NOTE: We do initialize the object earlier earlier so we can use it to track errors
- let response = Response::new(global);
+ let response = Response::new(global, can_gc);
response.Headers().set_guard(Guard::Immutable);
// Step 2. Let requestObject be the result of invoking the initial value of Request as constructor