-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
fix(ext/web): use mimesniff in FileAPI #16233
base: main
Are you sure you want to change the base?
Conversation
c90f8e9
to
c18129f
Compare
Managed to get to |
FileAPI spec is broken: w3c/FileAPI#43 I think we should favor MIME Sniffing spec, and disable the broken FileAPI tests. |
"request-init-contenttype.any.html": true, | ||
"request-init-contenttype.any.worker.html": true, | ||
"request-init-contenttype.any.html": [ | ||
"Default Content-Type for Request with Blob body (set type)", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fails because it expects a/b; c=d
, but we're now setting to a/b;c=d
as per the MIME Sniffing spec
👍 finally time someone did something about this. The WPT test should be changed to match the mime sniffing api IMO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, could you rebase this please? It seems like the spec issues have at least moved forward a little?
ref: #16225