mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
fix: Enter realm before dispatch activate (#30271)
* ref: https://github.com/servo/servo/issues/30141
This commit is contained in:
parent
89e42ffa5a
commit
efa8433548
1 changed files with 1 additions and 0 deletions
|
@ -373,6 +373,7 @@ impl ServiceWorkerGlobalScope {
|
|||
};
|
||||
|
||||
let scope = global.upcast::<WorkerGlobalScope>();
|
||||
let _ac = enter_realm(&*scope);
|
||||
|
||||
unsafe {
|
||||
// Handle interrupt requests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue