aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/body.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-17 18:19:00 +0530
committerGitHub <noreply@github.com>2024-10-17 12:49:00 +0000
commitcd7b66be58e289faa5a605856500bb1ebd0773bf (patch)
treef3d8778f7cc1cdc44bb4331e0014e929ad3ce428 /components/script/body.rs
parent72ff89620bbcc03b1534a092f65e526909df3a4a (diff)
downloadservo-cd7b66be58e289faa5a605856500bb1ebd0773bf.tar.gz
servo-cd7b66be58e289faa5a605856500bb1ebd0773bf.zip
CanGc fixes in components/script/dom (#33880)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
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()));
}