4 ms·
> New support for BroadcastChannel allows tabs, windows, iframes, and Workers from an origin to send messages to each other. This enables experiences like synci
by burtonator 5y ago
> New support for BroadcastChannel allows tabs, windows, iframes, and Workers from an origin to send messages to each other. This enables experiences like syncing login state for a site across multiple tabs.
This is SUPER nice... there are other hacks like IndexedDB or localStorage but this is way better!
But the frustrating part her is that we're excited about Webkit finally starting to catch up.
Chrome is just perpetually innovating and then Webkit is constantly lagging.
Supporting Safari is BY FAR the hardest part of my job.
- taf2 5y agoI think this means SharedWorkers are not too far behind. Pretty sure I saw a issue tracker indicating maybe SharedWorkers had been restored in a nightly build?
- jensimmons 5y agoSafari is ahead in implementing things like :has() and the new Viewport Units.
- epolanski 5y agoAPIs that hardly change my job..
- mushyhammer 5y agoYeah I saw that tweet. +1 for Safari, but we’re still -24. I’m still waiting for regex lookbehinds, a ES2018 syntax that I can’t use. Literally Safari does not execute the whole file if you use such regex literals.
- eternityforest 5y agoI really wish Safari would go away and Mozilla would switch to a full featured Chromium with everything enabled (But user-toggle-able). Browser diversity isn't work2 as advertised. It's just Google inventing things that other companies only get a year later, or totally reject. Mozilla needs to start trusting its users to have access to features like Google does, and Apple needs to allow third party browsers without WebKit.
- alexklark 5y agogood try google team, but no, go back to work nerfing ublock.
- eternityforest 5y agoMy life would be a lot different if I had the skills for the google team or any of the FAANG teams. Nor would I be nerfing ublock if I had the choice, browsers are already nerfed way more than enough, and if it were up to me we would have full pluggable network stacks as extensions, with access to raw sockets, so we had a vague chance at ever having a P2P internet that isn't blockchainified.
- dmitriid 5y ago> Chrome is just perpetually innovating No. Chrome is perpetually in Fire and Motion. Chrome is not the standard, https://v4.chriskrycho.com/2017/chrome-is-not-the-standard.html https://v4.chriskrycho.com/2017/chrome-is-not-the-standard.h...