-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort out MIME type tests #42
Comments
Here's a start with an overview of the endpoints. Review and additions appreciated:
|
Thoughts:
My takeaway is that we need agreement on |
web-platform-tests/wpt#8422 has the XMLHttpRequest Until |
This is basically done, but leaving it open for now as it's a rather nice collection of data I might have to reference a few more times before all the patches have landed. |
This addresses all open inline issues with respect to the parser and serializer, aligns both closer with implementations, except where those stood in the way of an improved model. This also updates all of it to make extensive use of the Infra Standard. See #42 for the testing story (included all linked issues) and web-platform-tests/wpt#7764 for the majority of tests.
WOW @annevk this is really great work. I have been perusing mimesniff as of late and definitely a space i'm interested in. I do realize you are keeping this open for "novelty"'s sake 😄. Is there anywhere here I can either help out? At minimum can contribute documentation. I'll start understanding with the WPT tests in the description. I think I just answered my own question. 👍 |
The only bits I still need to finish are with respect to XMLHttpRequest. Implementations still have to align too unfortunately. |
@annevk been wondering this but didn't know how/where to ask. Wanted to know where do I bring up I think For example Chrome sends I didn't know if this was a discussion for W3C/preload, mime sniff, HTML, WPT. Still getting the hang of wrangling kittens in open source (with your help of course). Thanks in advance and I can delete comment after you respond if you like. |
That's part of Fetch if you're talking about the |
@annevk copy that. Thanks a ton! |
@annevk was going to submit an issue as didn't know where to ask questions. As you taught me, check existing issues/prs first before creating another. Even found the source in chrome. :-) Looks like there is a discussion going on to follow. Thanks again. |
All the tests discussed here have landed. |
…) tests, a=testonly Automatic update from web-platform-testsAdd more XMLHttpRequest overrideMimeType() tests For whatwg/xhr#157, whatwg/xhr#174, and whatwg/mimesniff#42. -- wpt-commits: ae41496630ba35cff974877498383f1280ca07c2 wpt-pr: 8449
…) tests, a=testonly Automatic update from web-platform-testsAdd more XMLHttpRequest overrideMimeType() tests For whatwg/xhr#157, whatwg/xhr#174, and whatwg/mimesniff#42. -- wpt-commits: ae41496630ba35cff974877498383f1280ca07c2 wpt-pr: 8449 UltraBlame original commit: a743786f569a9e77f8c86a2882abee702f58f981
…) tests, a=testonly Automatic update from web-platform-testsAdd more XMLHttpRequest overrideMimeType() tests For whatwg/xhr#157, whatwg/xhr#174, and whatwg/mimesniff#42. -- wpt-commits: ae41496630ba35cff974877498383f1280ca07c2 wpt-pr: 8449 UltraBlame original commit: a743786f569a9e77f8c86a2882abee702f58f981
…) tests, a=testonly Automatic update from web-platform-testsAdd more XMLHttpRequest overrideMimeType() tests For whatwg/xhr#157, whatwg/xhr#174, and whatwg/mimesniff#42. -- wpt-commits: ae41496630ba35cff974877498383f1280ca07c2 wpt-pr: 8449 UltraBlame original commit: a743786f569a9e77f8c86a2882abee702f58f981
Tests:
Content-Type
)overrideMimeType()
)data:
URLs)Proposed processing model:
TODO:
The text was updated successfully, but these errors were encountered: