mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
When interrupting `DedicatedWorkerGlobalScope` execution, handle the case that the `DebuggerGlobalScope` is running its script by just terminating. It seems that this happens sometimes when trusted types terminates a worker script. Testing: This should fix some flaky `expect` failure panics in trusted types WPT tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>