mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
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:
parent
a86dcfc6e7
commit
e5e1ef9fb6
3 changed files with 5 additions and 4 deletions
|
@ -55,7 +55,7 @@ use crate::dom::workernavigator::WorkerNavigator;
|
|||
use crate::fetch;
|
||||
use crate::realms::{enter_realm, InRealm};
|
||||
use crate::script_runtime::{
|
||||
get_reports, CommonScriptMsg, JSContext, Runtime, ScriptChan, ScriptPort,
|
||||
get_reports, CanGc, CommonScriptMsg, JSContext, Runtime, ScriptChan, ScriptPort,
|
||||
};
|
||||
use crate::task::TaskCanceller;
|
||||
use crate::task_source::dom_manipulation::DOMManipulationTaskSource;
|
||||
|
@ -406,7 +406,7 @@ impl WorkerGlobalScopeMethods for WorkerGlobalScope {
|
|||
init: RootedTraceableBox<RequestInit>,
|
||||
comp: InRealm,
|
||||
) -> Rc<Promise> {
|
||||
fetch::Fetch(self.upcast(), input, init, comp)
|
||||
fetch::Fetch(self.upcast(), input, init, comp, CanGc::note())
|
||||
}
|
||||
|
||||
// https://w3c.github.io/hr-time/#the-performance-attribute
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue