07:52 | <sideshowbarker> | Domenic: I have a calendar entry for an “HTML spec triage” meeting starting 10 minutes from now. I guess that’s some ghost entry leftover? |
07:52 | <Domenic> | Domenic: I have a calendar entry for an “HTML spec triage” meeting starting 10 minutes from now. I guess that’s some ghost entry leftover? |
16:03 | <smaug> | keithamus: related to the hint/tooltip discussion, I wonder if github would have used context menu if it had been supported everywhere (It was removed in https://github.com/whatwg/html/pull/2742) |
16:06 | <keithamus> | I can’t say for sure but we’ve definitely tried to provide our own context menus in places before but due to the missing expected experience we saw user pushback. It would be helpful to have a similar concept or revive that spec 😛 |
19:23 | <Ira Kaundal> | Hey folks! I have a basic question for my understanding. Can someone help me understand why don't <img> tags have the ability to support request headers for urls that have such requirements for e.g. authorization token? |
19:24 | <easrng> | You can use javascript for that. |
19:25 | <easrng> | try setting src to URL.createObjectURL(await(await fetch(/* whatever */)).blob()) |
20:30 | <Ira Kaundal> | Yes, that is the option I am implementing but it comes with its own set of challenges like creating in-memory blobs that need to be released from memory. Current recommendation is to release the memory when component unmounts but when the application is huge and performance is crucial, the intention is to have this more centralized as we don't cannot rely on all components doing this. |
20:31 | <easrng> | try adding the headers in a service worker perhaps |
20:38 | <Ira Kaundal> | There are concerns with this approach as well since service works are not expected to always be available. For now blob url is still the most favorable option only. |
20:38 | <easrng> | could feature detect and switch to whichever is available |
20:41 | <Ira Kaundal> | Possibly, but right now we are trying to figure out ways to handle the memory problem. It would be preferable to just have one path without adding too much complexity. |
20:43 | <Ira Kaundal> | I was majorly curious why <img> tag cannot support this. It seems like a common enough concern which would make things a lot easier. |
20:43 | <easrng> | because img tags are significantly older than the ability to make any kind of request with custom headers on the web |
20:44 | <Ira Kaundal> | Okay I see. |
20:46 | <Ira Kaundal> | Thanks for the information and the help! Appreciate it! |
23:00 | <Colin Alworth> | Some other unsolicited thoughts:
|