mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
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>