-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestExpectations cannot represent variants with spaces
https://bugs.webkit.org/show_bug.cgi?id=269484 rdar://123026314 Reviewed by Jonathan Bedard. This converts variants to always be percent-encoded (specifically: the variant should be encoded identically to the output from the URL parser). Along with this, this fixes various places where we only handled query variants (and not fragment variants). * Tools/Scripts/webkitpy/common/find_files.py: (_normalized_find.sorted_paths_generator): Handle fragment variants * Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_legacy.py: (LayoutTestFinder._expand_variants): De-duplicate code, handle fragment passed variants, percent encode everything (LayoutTestFinder._percent_encoded_variant): Actually do percent encoding of variants * Tools/Scripts/webkitpy/layout_tests/controllers/layout_test_finder_legacy_unittest.py: Canonical link: https://commits.webkit.org/274749@main
- Loading branch information
Showing
3 changed files
with
101 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters