mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
Instead of using a task source for SpiderMonkey runtime callbacks, use a `ScriptEventLoopSender`. Task sources are associated with a particular Pipeline, but the runtime callback is run indepenently of any particular Pipeline and could theoretically happen when no Pipeline exists at all. This reduces the dependency of the `ScriptThread` on the existence of the first Pipeline. Testing: This should not change observable behavior, so is covered by existing tests. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
56 KiB
56 KiB