From 277c0b82dd4411798b461a4e3a782e7869ae5740 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 4 Apr 2025 02:24:10 -0400 Subject: [PATCH] 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 --- tests/wpt/meta/MANIFEST.json | 2 +- tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servo.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/wpt/meta/MANIFEST.json b/tests/wpt/meta/MANIFEST.json index 70903a3077a..d9c5da592b5 100644 --- a/tests/wpt/meta/MANIFEST.json +++ b/tests/wpt/meta/MANIFEST.json @@ -510199,7 +510199,7 @@ ] }, "servo.py": [ - "d0bf0a38ea3f48ef1921360e25ea9ec63e44ca7a", + "00d7eac0dfd5b235df36724be983d574a9dd9737", [] ], "servodriver.py": [ diff --git a/tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servo.py b/tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servo.py index d0bf0a38ea3..00d7eac0dfd 100644 --- a/tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servo.py +++ b/tests/wpt/tests/tools/wptrunner/wptrunner/browsers/servo.py @@ -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