Replace CanGc::note() calls with arguments in components/script (#33816)

* Replace CanGc::note() calls with arguments in components/script

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>

* Revert changes for task macro

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>

---------

Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
tanishka 2024-10-12 00:53:58 +05:30 committed by GitHub
parent a86dcfc6e7
commit e5e1ef9fb6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View file

@ -1342,7 +1342,7 @@ impl WindowMethods for Window {
init: RootedTraceableBox<RequestInit>,
comp: InRealm,
) -> Rc<Promise> {
fetch::Fetch(self.upcast(), input, init, comp)
fetch::Fetch(self.upcast(), input, init, comp, CanGc::note())
}
fn TestRunner(&self) -> DomRoot<TestRunner> {