mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
Follow-up to #41823. Now that we always execute JS with callback, we can safely remove the obsolete sync script handler. - Rename `ExecuteAsyncScript` to `ExecuteScriptWithCallback` - Remove `ExecuteScript` related logic. - Rewrite async callback wrapper to simplify things. Testing: I expect no change in behaviour. See if WPT tests agree with it. --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>