Re: [w3c/FileAPI] Consider reserializing type attributes, not just parsing them. (#123)

Aside from `Blob`, this also affects `slice()` and `File`.

I think what should happen is that we store a MIME type internally (I think @mkruisselbrink was planning on adding internal slots) and the `type` getter serializes it using https://mimesniff.spec.whatwg.org/#serialize-a-mime-type.

I looked into writing a patch for this briefly, but it would end up being quite the rewrite as these bits of the specification are quite dated.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/issues/123#issuecomment-480314235

Received on Friday, 5 April 2019 15:16:47 UTC