WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
264735
[import-w3c-tests] deleting generic -expected files when platform-specific baselines exist
https://bugs.webkit.org/show_bug.cgi?id=264735
Summary
[import-w3c-tests] deleting generic -expected files when platform-specific ba...
Sam Sneddon [:gsnedders]
Reported
2023-11-13 05:36:39 PST
https://github.com/WebKit/WebKit/pull/20412
started off with `./Tools/Scripts/import-w3c-tests -s ~/projects/wpt/wpt-clean --clean-dest-dir web-platform-tests/dom`, which deleted `LayoutTests/imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window-expected.txt`. However, `LayoutTests/imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window.html` still exists. This is wrong and bad.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-11-13 05:36:51 PST
<
rdar://problem/118329279
>
Sam Sneddon [:gsnedders]
Comment 2
2023-11-13 06:04:48 PST
(Pdb) 'imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window.html' in {test.test_path for test in tests} True (Pdb) 'imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window-expected.txt' in baselines_for_tests False (Pdb) pp self.port.expected_filename("imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window.html", ".txt") '/Volumes/gsnedders/projects/Safari/OpenSource/LayoutTests/platform/mac-wk1/imported/w3c/web-platform-tests/dom/events/non-cancelable-when-passive/passive-wheel-event-listener-on-window-expected.txt' We're confused because we have a baseline in the platform directory.
Sam Sneddon [:gsnedders]
Comment 3
2023-11-16 06:17:44 PST
Ah, because we always prune baselines, this doesn't actually require --clean-dest-dir. Patch forthcoming.
Sam Sneddon [:gsnedders]
Comment 4
2023-11-16 06:58:12 PST
Pull request:
https://github.com/WebKit/WebKit/pull/20603
EWS
Comment 5
2023-11-17 10:01:12 PST
Committed
270899@main
(69c47f823b0e): <
https://commits.webkit.org/270899@main
> Reviewed commits have been landed. Closing PR #20603 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug