mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
We were relying on `fn WebdriverWindow` to report `NoSuchWindow` during script execution, regardless of the fact that it is never `Fallible`. I was really hoping to refactor this to return `Fallible` to reduce one RTT of IPC, but there is no easy way to convert between DOM exception56b806b129/components/script_bindings/error.rs (L15)and JavaScriptEvaluationError56b806b129/components/shared/embedder/lib.rs (L1092). We also migrate `element.rs` to `script_argument_extraction.rs` to reflect the true purpose of the file. Testing: 10 new subtests passing. --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
7.4 KiB
7.4 KiB