aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authortanishka <109246904+taniishkaaa@users.noreply.github.com>2024-10-22 15:38:55 +0530
committerGitHub <noreply@github.com>2024-10-22 10:08:55 +0000
commit7015e0fb5f1a63ed13a5b07b056036e6e7adbc16 (patch)
tree0e1cb385daf84a1776ee7a5d2006b90b68e2404f /components/script/dom/htmliframeelement.rs
parent575e8855294a9ee2094b110a7c1fea868e69251e (diff)
downloadservo-7015e0fb5f1a63ed13a5b07b056036e6e7adbc16.tar.gz
servo-7015e0fb5f1a63ed13a5b07b056036e6e7adbc16.zip
CanGc fixes in `errorevent.rs` (#33960)
* CanGc fixes in errorevent.rs Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> * Allow too_many_arguments to avoid lint error Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com> --------- Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r--components/script/dom/htmliframeelement.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index c62e28aca71..d7f0f39274e 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -159,7 +159,7 @@ impl HTMLIFrameElement {
// TODO: check according to https://w3c.github.io/webappsec-csp/#should-block-navigation-request
if ScriptThread::check_load_origin(&load_data.load_origin, &document.url().origin())
{
- ScriptThread::eval_js_url(&window_proxy.global(), &mut load_data);
+ ScriptThread::eval_js_url(&window_proxy.global(), &mut load_data, can_gc);
}
}
}