Ignore cert errors when running wdspec tests. (#36327)

This change makes the wdspec configuration match our other browser
configurations to account for #30080.

Testing: Tested locally, since we don't run webdriver conformance tests
in CI yet. The STR from the issue do not reproduce the same problem any
longer.
Fixes: #36326.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-04-04 02:24:10 -04:00 committed by GitHub
parent 4bad7c0a5d
commit 277c0b82dd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View file

@ -510199,7 +510199,7 @@
]
},
"servo.py": [
"d0bf0a38ea3f48ef1921360e25ea9ec63e44ca7a",
"00d7eac0dfd5b235df36724be983d574a9dd9737",
[]
],
"servodriver.py": [

View file

@ -113,6 +113,9 @@ class ServoWdspecBrowser(WebDriverBrowser):
command = [self.binary,
f"--webdriver={self.port}",
"--hard-fail",
# See https://github.com/servo/servo/issues/30080.
# For some reason rustls does not like the certificate generated by the WPT tooling.
"--ignore-certificate-errors",
"--headless"] + self.webdriver_args
if self.binary_args:
command += self.binary_args