News for hackers. Stuff that matters.
Re:New WebKit features in Safari 15.4 by burtonator on Monday March 14, 2022 @05:59PM (#30678997)
> 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.

Re:New WebKit features in Safari 15.4 by jensimmons on Monday March 14, 2022 @08:13PM (#30680192)
Safari is ahead in implementing things like :has() and the new Viewport Units.
Re:New WebKit features in Safari 15.4 by mushyhammer on Tuesday March 15, 2022 @01:12PM (#30687975)
Yeah 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.

Re:New WebKit features in Safari 15.4 by epolanski on Monday March 14, 2022 @08:56PM (#30680537)
APIs that hardly change my job..
Re:New WebKit features in Safari 15.4 by dmitriid on Tuesday March 15, 2022 @12:13PM (#30687130)
> 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.h...

Re:New WebKit features in Safari 15.4 by taf2 on Monday March 14, 2022 @07:51PM (#30680042)
I 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?
Re:New WebKit features in Safari 15.4 by jcbrand on Wednesday March 16, 2022 @05:16AM (#30696761)
That's great news if true. Last I saw (maybe a year ago), Safari claimed they won't support shared workers at all.
Re:New WebKit features in Safari 15.4 by taf2 on Friday March 18, 2022 @12:31PM (#30724314)
SharedWorkers are in safari now as a feature you can toggle on in settings on iOS
Re:New WebKit features in Safari 15.4 by eternityforest on Monday March 14, 2022 @11:51PM (#30681486)
I 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.

Re:New WebKit features in Safari 15.4 by alexklark on Tuesday March 15, 2022 @12:32PM (#30687377)
good try google team, but no, go back to work nerfing ublock.
Re:New WebKit features in Safari 15.4 by eternityforest on Wednesday March 16, 2022 @03:57AM (#30696347)
My 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.