diff options
author | Yerkebulan Tulibergenov <yerkebulan@gmail.com> | 2025-04-13 00:10:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-13 07:10:00 +0000 |
commit | 3babf7498656b9ff41b9d7894849a1921c68f28f (patch) | |
tree | 92fd55a1f0955b9b38cd3eed2e13567d302e5ac0 /components/script/dom/window.rs | |
parent | 06f86f88a2c2f89f2a7072626915f8949778195d (diff) | |
download | servo-3babf7498656b9ff41b9d7894849a1921c68f28f.tar.gz servo-3babf7498656b9ff41b9d7894849a1921c68f28f.zip |
add CanGc as argument to methods in HTMLCollection, HTMLDataListElement, HTMLDialogElement, HTMLElement, HTMLFieldSetElement, HTMLFormControlsCollection, HTMLFormElement, HTMLIFrameElement (#36495)
add CanGc as argument to methods in HTMLCollection, HTMLDataListElement,
HTMLDialogElement, HTMLElement, HTMLFieldSetElement,
HTMLFormControlsCollection, HTMLFormElement, HTMLIFrameElement
Testing: These changes do not require tests because they are a refactor.
Addresses part of https://github.com/servo/servo/issues/34573.
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
Diffstat (limited to 'components/script/dom/window.rs')
-rw-r--r-- | components/script/dom/window.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs index 227bdd2bdc1..689e9689667 100644 --- a/components/script/dom/window.rs +++ b/components/script/dom/window.rs @@ -1626,6 +1626,7 @@ impl WindowMethods<crate::DomTypeHolder> for Window { self, document.upcast(), Box::new(WindowNamedGetter { name }), + CanGc::note(), ); Some(NamedPropertyValue::HTMLCollection(collection)) } |