Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32e492d4320ee92b65bd4e056b4eb5d8fe6d1839
https://github.com/WebKit/WebKit/commit/32e492d4320ee92b65bd4e056b4eb5d8fe6d1839
Author: Sam Sneddon <[email protected]>
Date: 2026-07-06 (Mon, 06 Jul 2026)
Changed paths:
M Tools/Scripts/webkitpy/w3c/test_downloader.py
A Tools/Scripts/webkitpy/w3c/test_downloader_unittest.py
Log Message:
-----------
WPT clone should use same protocol as WebKit
https://bugs.webkit.org/show_bug.cgi?id=277452
rdar://133417147
Reviewed by Elliott Williams.
Use the same protocol (SSH or HTTPS) as the WebKit repository instead of
always HTTPS. This avoids authentication friction when exporting W3C tests
and matches how webkitscmpy handles fork remotes.
* Tools/Scripts/webkitpy/w3c/test_downloader.py:
(TestDownloader.__init__):
(TestDownloader._get_webkit_remote_url):
(TestDownloader):
(TestDownloader._protocol_from_url):
(TestDownloader._normalize_url_protocol):
(TestDownloader.checkout_test_repository):
* Tools/Scripts/webkitpy/w3c/test_downloader_unittest.py: Added.
(TestDownloaderProtocolTest):
(TestDownloaderProtocolTest.test_protocol_from_url_https):
(TestDownloaderProtocolTest.test_protocol_from_url_http):
(TestDownloaderProtocolTest.test_protocol_from_url_git):
(TestDownloaderProtocolTest.test_protocol_from_url_ssh_scheme):
(TestDownloaderProtocolTest.test_protocol_from_url_scp_like):
(TestDownloaderProtocolTest.test_protocol_from_url_scp_like_with_user):
(TestDownloaderProtocolTest.test_protocol_from_url_ftp):
(TestDownloaderProtocolTest.test_protocol_from_url_ftps):
(TestDownloaderProtocolTest.test_protocol_from_url_file):
(TestDownloaderProtocolTest.test_protocol_from_url_local_path):
(TestDownloaderProtocolTest.test_normalize_url_protocol_https_to_https):
(TestDownloaderProtocolTest.test_normalize_url_protocol_ssh_to_ssh):
(TestDownloaderProtocolTest.test_normalize_url_protocol_https_to_ssh):
(TestDownloaderProtocolTest.test_normalize_url_protocol_ssh_to_https):
(TestDownloaderProtocolTest.test_normalize_url_protocol_git_to_https):
(TestDownloaderProtocolTest.test_normalize_url_protocol_ssh_scheme_to_https):
(TestDownloaderProtocolTest.test_normalize_url_protocol_preserves_path):
(TestDownloaderProtocolTest.test_normalize_url_protocol_no_change_needed):
Canonical link: https://commits.webkit.org/316550@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications