aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/body.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/body.rs')
-rw-r--r--components/script/body.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/body.rs b/components/script/body.rs
index f111ec5f50b..efdcaf3b312 100644
--- a/components/script/body.rs
+++ b/components/script/body.rs
@@ -878,7 +878,7 @@ fn run_form_data_algorithm(
// ... is not fully determined yet.
if mime.type_() == mime::APPLICATION && mime.subtype() == mime::WWW_FORM_URLENCODED {
let entries = form_urlencoded::parse(&bytes);
- let formdata = FormData::new(None, root);
+ let formdata = FormData::new(None, root, CanGc::note());
for (k, e) in entries {
formdata.Append(USVString(k.into_owned()), USVString(e.into_owned()));
}