RESOLVED FIXED 161901
W3C WPT have tests without corresponding html filenames
https://bugs.webkit.org/show_bug.cgi?id=161901
Summary W3C WPT have tests without corresponding html filenames
youenn fablet
Reported 2016-09-13 03:54:42 PDT
As per https://github.com/w3c/web-platform-tests/blob/master/docs/test-format-guidelines.md, WPT files such as XX.worker.js should lead to making a test on XX.worker URL. A file src as YY.any.js should lead to making a test on YY.any.html and YY.any.worker. The wpt server will generate the content of each such test using templates. This does not work well with our current infrastructure which requires these files to detect tests.
Attachments
youenn fablet
Comment 1 2016-09-13 03:58:34 PDT
See for instance: LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/XMLHttpRequest-withCredentials.any.js LayoutTests/imported/w3c/web-platform-tests/IndexedDB/interfaces.worker.js LayoutTests/imported/w3c/web-platform-tests/WebIDL/ecmascript-binding/es-exceptions/constructor-object.worker.js LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/abort-during-open.worker.js LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-send.worker.js LayoutTests/imported/w3c/web-platform-tests/XMLHttpRequest/send-usp.worker.js LayoutTests/imported/w3c/web-platform-tests/url/historical.worker.js
youenn fablet
Comment 2 2016-09-13 04:00:31 PDT
This eases test authoring but this does not make our test system simpler... One possibility would be for WPT repo to maintain a script that would generate the missing files based on the templates used by the wpt server. When importing, we would call that script and do regular import.
youenn fablet
Comment 3 2017-10-14 16:49:23 PDT
We create the .html files as dummy empty files.
Note You need to log in before you can comment on or make changes to this bug.