Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

121–130 of 311 posts

Re: New WebKit features in Safari 15.4

#121
post #109
post #74

dang, still no SIMD for WebAssembly. Chrome and Firefox are meanwhile hitting 45gflops (85% of peak) on my M1 Air. Safari only gets to 12.5gflops

They’re working on it You can follow along here https://bugs.webkit.org/show_bug.cgi?id=222382

this is awesome, thanks for the link!

Re: New WebKit features in Safari 15.4

#122
post #54

Edit: removing the snark/sarcasm I put into it. I was really hoping this announcement would include support for push notifications for PWAs. I've been trying to build a few Discourse forums and they work very well as PWAs except for the fact that iOS doesn't support PWAs sending push notifications. So here's to hoping the next iteration will.

Personally I really hope they don't add this. Imagine how annoying to have to decline a "please turn on notifications" on every news site on your phone (which you're spammed with on desktop).

Apple could implement this with a default of "automatically decline all", allowing users to only manually opt-in when they feel the need without ever seeing a prompt.

If you mean html/css prompts rather than actual browser prompts: they already do that.

Re: New WebKit features in Safari 15.4

#123

Earlier quoted context omitted.

> When Apple does it, it’s looked at with derision. By...who? There's 100 comments in this thread right now and not one is criticizing the new features.

https://news.ycombinator.com/item?id=30679187

I can quote the whole thing if you like.

> Chrome is first with a new CSS feature, it’s the greatest thing since sliced bread. When Apple does it, it’s looked at with derision.

So, "new" as in first implementation in a browser.

Re: New WebKit features in Safari 15.4

#124

> 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 perp…

Safari is ahead in implementing things like :has() and the new Viewport Units.

APIs that hardly change my job..

Re: New WebKit features in Safari 15.4

#125

Earlier quoted context omitted.

So true. When Chrome is first with a new CSS feature, it’s the greatest thing since sliced bread. When Apple does it, it’s looked at with derision.

> When Apple does it, it’s looked at with derision. By...who? There's 100 comments in this thread right now and not one is criticizing the new features.

Derision is not the same as criticism. I was referring to the comment,

> Web developers are interested in the features that are widely supported. "Being first" helps no one.

which I read as expressing contempt - the very definition of "derisive".

Re: New WebKit features in Safari 15.4

#126

Earlier quoted context omitted.

Apple likes to trot out Facebook as a privacy boogeyman when it comes to defending their App Store business model, but when their business model necessitates that Facebook has invasive native apps, suddenly they're silent. PWAs would increase security all around compared to native apps, but that might cut into App Store revenue.

> Apple likes to trot out Facebook as a privacy boogeyman when it comes to defending their App Store business model, but when their business model necessitates that Facebook has invasive native apps, suddenly they're silent. Are you joking? https://www.macrumors.com/2022/02/03/facebook-10-billion-in-...

Exactly my point, they'll trot Facebook out as a defense of their App Store model just like they did here. PWAs from the beginning would have prevented Facebook from collecting data for the last decade in the first place, but that's not a solution Apple would allow.

Re: New WebKit features in Safari 15.4

#127

Earlier quoted context omitted.

It’s available on desktop and not that annoying. They could use their differential privacy to only allow for sites that have a reasonable opt in rate, and global opt out.

> It’s available on desktop and not that annoying. It’s pretty annoying. - the dialog is model - it’s small, and drops down from the top (a “reverse toast”?) - I frequently use screen zoom So am typically unable to see the top of any window because I’m reading content - I click a link, the page loads, the “toast” drops down but I don’t see it, suddenly nothing on the page works For 99% of sites which ask for permissi…

A lot of these complaints are about the underlying notification system, which is way, way better on iOS than on Mac, and is already what you get if you have app notifications anyway.

Re: New WebKit features in Safari 15.4

#128

Edit: removing the snark/sarcasm I put into it. I was really hoping this announcement would include support for push notifications for PWAs. I've been trying to build a few Discourse forums and they work very well as PWAs except for the fact that iOS doesn't support PWAs sending push notifications. So here's to hoping the next iteration will.

Doesn’t supporting web push notifications involve having worker processes running in the background all the time to poll or keep a socket open for updates? I could see that dragging down battery life if one has notifications for more than just a small handful of PWAs enabled.

Re: New WebKit features in Safari 15.4

#129
post #31

Earlier quoted context omitted.

Web developers are interested in the features that are widely supported. "Being first" helps no one.

Unless you’re Chrome, in which case it’s really great. /s

Being first is fine so long as you're not last in anything. If you announce that you're the first do to something and you're the only one who hasn't done something else, you're holding back everyone so you can introduce features no one can really use.

Re: New WebKit features in Safari 15.4

#130
post #46

Earlier quoted context omitted.

I want it so I can uninstall Facebook Messager. On Android I can log into Facebook's website, and receive push notifications via the web-browser. On iOS my choices are either the native iOS app (which has substantially more data hooks) or nothing at all. Essentially browser Push Notifications increase my privacy. PS - I am sympathetic to complaints about push notification request spam, but that feels like a solvable…

I interact with FB messages solely through mbasic.facebook.com, even on my phone. It’s painful enough to keep me off the site, a benefit.

I've used it in a container for ages (SlimSocial on F-Droid store). I removed it being listed by my launcher so I have to go through Settings > Apps and scroll that list. It's so annoying to use and get to it that I barely use Facebook anymore.
Post reply on HN