diff options
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index b23f8f8f8dd..f7398ca1d30 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -75,7 +75,7 @@ pub fn Fetch(global: GlobalRef, input: RequestOrUSVString, init: &RequestInit) - let response = Response::new(global_scope); // Step 2 - let request = match Request::Constructor(global, input, init) { + let request = match Request::Constructor(global_scope, input, init) { Err(e) => { promise.reject_error(promise.global().r().get_cx(), e); return promise; |