Bug 215135 - deduplicate WPT tests
Summary: deduplicate WPT tests
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-08-04 12:55 PDT by Sam Sneddon [:gsnedders]
Modified: 2021-05-01 09:34 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Sneddon [:gsnedders] 2020-08-04 12:55:07 PDT
Driven by Myles noticing a bunch of duplication (which already led to Bug 215073), here's a bunch of directories which appear to substantially be derived from WPT tests:

(unimported) ./imported/w3c/web-platform-tests/css/CSS2 maps to ./css2.1/20110323/ and ./css2.1/tables/ (./css2.1/ also, but the mapping between files to those in WPT is, well, I don't know how to figure that out in any sane way)

(unimported) ./imported/w3c/web-platform-tests/css/css-conditional/ maps to ./css3/conditional/w3c/

(unimported) ./imported/w3c/web-platform-tests/css/css-masking/clip-path-svg-content/ maps to ./svg/clip-path/

(unimported) ./imported/w3c/web-platform-tests/webvtt/ maps to ./media/track/opera/track/webvtt/

./imported/w3c/web-platform-tests/content-security-policy/ maps to ./http/tests/security/contentSecurityPolicy/1.1/

./imported/w3c/web-platform-tests/css/css-backgrounds/ maps to ./ietestcenter/css3/bordersbackgrounds/

./imported/w3c/web-platform-tests/css/css-shapes/ maps to ./css3/shapes/

./imported/w3c/web-platform-tests/css/css-writing-modes/ maps to ./imported/blink/imported/csswg-test/css-writing-modes-3/ *and* ./imported/w3c/i18n/bidi/

./imported/w3c/web-platform-tests/html/canvas/element/ and ./imported/w3c/web-platform-tests/html/semantics/embedded-content/the-canvas-element/ maps to ./canvas/philip/tests/2d.composite.operation.highlight.html *and* ./imported/w3c/canvas/

./imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/track/track-element/ maps to ./media/track/

./imported/w3c/web-platform-tests/svg/ maps to ./svg/

./imported/w3c/web-platform-tests/webaudio/ maps to ./webaudio/

---

CSS2 is probably relatively high-value to get imported as a whole with Bug 215087,  but poses a number of challenges: it contains 82% of all visual tests (i.e., "screenshot comparison" tests) in WPT which nobody current runs. We could import them as dumpAsText tests, which would provide most of the value without the infinite pain of PNGs. Starting to run all of them would, however, cause a substantial increase in number of tests run (we currently run ~1.1k CSS2 tests, WPT contains 9.5k).
Comment 1 Radar WebKit Bug Importer 2020-08-11 13:01:22 PDT
<rdar://problem/66856722>