Files
servo/components/webdriver_server
Euclid Ye 0022d971d0 webdriver: Fix outdated timeouts test and remove redundant check (#41631)
Initially the attempt is to validate params according to spec. But it
turns out validation is already done at [webdriver
crate](https://hg-edge.mozilla.org/mozilla-central/file/tip/testing/webdriver/src/capabilities.rs#l368)
so I reverted the change.

But Chrome/Firefox are not compliant with spec:
https://wpt.fyi/results/webdriver/tests/classic/new_session/timeouts.py?label=experimental&label=master&aligned.
They only allow `script timeouts` to be `None` but not `pageLoad` and
`implicit`, which is how the test is currently written.

Testing: Updated the test to be compliant with spec. New failures are
because it is validated at [webdriver
crate](https://hg-edge.mozilla.org/mozilla-central/file/tip/testing/webdriver/src/capabilities.rs#l377).

---------

Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
2026-01-05 11:49:39 +00:00
..