00:22 | <TabAtkins> | Andreu Botella (he/they): Ugh, indeed, the sidebar's background color is manually specified with the assumption of light mode. I'll fix. |
01:43 | <sideshowbarker> | FYI https://github.com/WICG/proposals/issues/46 |
14:12 | <annevk> | Jake Archibald: have you ever seen service workers create JSON responses? Trying to figure out browser interest for https://github.com/whatwg/fetch/issues/1389 |
14:32 | <Luca Casonato> | annevk: I am I correct in thinking that according to the mime spec, the following mime types should parse like this?
|
14:32 | <Luca Casonato> | All browser engines just accept this invalid name as valid. |
14:34 | <Luca Casonato> | Which brings me to this highly depressing page: https://wpt.fyi/results/mimesniff/mime-types?label=experimental&label=master&product=chrome&product=firefox&product=safari&aligned&q=mimesniff. Not even half of the tests pass in any browser |
15:54 | <annevk> | I think that's mostly due to Blob/Request/Response not having been updated accordingly |
15:56 | <annevk> | Luca Casonato: and yeah, not all invalid MIME types yield failure, same as with HTML and URLs |
15:57 | <annevk> | At least in the web platform "does it parse?" and "is it valid?" can have different answers |
17:37 | <Luca Casonato> | I think that's mostly due to Blob/Request/Response not having been updated accordingly |
19:20 | <Domenic> |
|
22:42 | <Luca Casonato> | You can test current spec using https://npm.runkit.com/whatwg-mimetype . Maybe we should make a live-mime-viewer page... Thanks, that's pretty much what I did ultimately. Ran the following in my Deno repl:
|