mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
CanGc fixes in messageport.rs & workerglobalscope.rs (#34003)
Signed-off-by: taniishkaaa <tanishkasingh2004@gmail.com>
This commit is contained in:
parent
7ad8822d94
commit
fd6c100489
5 changed files with 7 additions and 6 deletions
|
@ -464,7 +464,7 @@ impl DedicatedWorkerGlobalScope {
|
|||
{
|
||||
let _ar = AutoWorkerReset::new(&global, worker.clone());
|
||||
let _ac = enter_realm(scope);
|
||||
scope.execute_script(DOMString::from(source));
|
||||
scope.execute_script(DOMString::from(source), CanGc::note());
|
||||
}
|
||||
|
||||
let reporter_name = format!("dedicated-worker-reporter-{}", random::<u64>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue