web-platform-tests / web-platform-tests/wpt
Non-printable characters filtered by collection lead to MISSING results on wpt.fyi
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 6.2k
- Forks
- 3.9k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 586
Description
Not sure this is the right repo for this, but...
https://wpt.fyi/results/FileAPI/blob/Blob-constructor.html?label=master&label=experimental contains two cases where platforms end up with different names for the same test, leading to confusing MISSING lines:

NOTE: The "function" case towards the top is because Safari introduces a space:
String(function() {}) === "function () {}"
... so the outputs from the different browsers don't match, leading to these "MISSING" lines. That seems like a straight up interop bug. Just mentioning it here since it could be distracting. That's not an issue for this repo.
The "image/gif;" case is more subtle and seems relevant. There's a non-printable U+007F code point at the end of the string in the test. In both Chrome and Safari, the DOM when the test is complete does contain the U+007F code point. But somehow by the time the results get to WPT.FYI the Chrome/Edge results retain the U+007F character but the Firefox/Safari results have dropped the code point, leading to a mismatch.
Since this seems to relate to the results collection pipeline rather than either the tests (WPT) or the correlation/display (WPT.FYI), filing the issue here.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test entry point is identified; start by tracing the results collection pipeline described in the issue and compare handling of U+007F across browser results. Done means the character is preserved consistently and the differing results no longer produce misleading MISSING lines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100