RESOLVED DUPLICATE of bug 278243311897
Support WPT ref tests with variants
https://bugs.webkit.org/show_bug.cgi?id=311897
Summary Support WPT ref tests with variants
Simon Fraser (smfr)
Reported 2026-04-09 20:17:05 PDT
WPT ref tests using variants don't work. Examples: imported/w3c/web-platform-tests/css/css-backgrounds/box-shadow-radius-generated.html* imported/w3c/web-platform-tests/css/css-view-transitions/web-animations-api-parse-pseudo-argument.html?first-pseudo=::view-transition-group*
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-09 20:17:11 PDT
Simon Fraser (smfr)
Comment 2 2026-04-09 20:53:05 PDT
Maybe fix: Tools/Scripts/webkitpy/port/base.py 562 if self.test_isfile(test_name) or self.test_isdir(test_name): 563 return True 564 if '?' in test_name or '#' in test_name: 565 - fs = self._filesystem 566 - ext_parts = fs.splitext(test_name) 567 - test_name = ext_parts[0] 568 - if len(ext_parts) > 1 and '?' in ext_parts[1]: 569 - test_name += ext_parts[1].split('?')[0] 570 - if len(ext_parts) > 1 and '#' in ext_parts[1]: 571 - test_name += ext_parts[1].split('#')[0] 565 + test_name = test_name.split('?')[0].split('#')[0] 566 return self.test_isfile(test_name) 567 return False 568
Simon Fraser (smfr)
Comment 3 2026-04-09 20:55:00 PDT
That change is fixing TestExpectations to work with params containing slashes, which also doesn't work.
Simon Fraser (smfr)
Comment 4 2026-04-12 08:27:27 PDT
*** This bug has been marked as a duplicate of bug 278243 ***
Note You need to log in before you can comment on or make changes to this bug.