aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2023-05-28 22:43:55 -0400
committerJosh Matthews <josh@joshmatthews.net>2023-05-28 23:23:12 -0400
commitdbff26bce05d404027ef5bbfd85fb5995e4726bc (patch)
tree6ebb631eef396c2f387fe8269b0d59bde0dccae2 /components/script/fetch.rs
parentd9600ff50f3c1bdd8c44e2dfc15a18416d80cb82 (diff)
downloadservo-dbff26bce05d404027ef5bbfd85fb5995e4726bc.tar.gz
servo-dbff26bce05d404027ef5bbfd85fb5995e4726bc.zip
Support arbitrary protos when wrapping DOM objects with constructors.
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 9487e7c8717..9de88ba0277 100644
--- a/components/script/fetch.rs
+++ b/components/script/fetch.rs
@@ -146,7 +146,7 @@ pub fn Fetch(
let response = Response::new(global);
// Step 2
- let request = match Request::Constructor(global, input, init) {
+ let request = match Request::Constructor(global, None, input, init) {
Err(e) => {
response.error_stream(e.clone());
promise.reject_error(e);