Live data from Hacker News

New WebKit features in Safari 15.4

webkit.org

41–50 of 311 posts

Re: New WebKit features in Safari 15.4

#41

Here I am still waiting for ES2018 regex look-behinds to be implemented. The folks working on the regex engine must have jumped ship or something.

What use do you have for that in a web application?

Anecdote: I tried (limited) CSS validation to through a regexp some time ago, and it worked, except that Chrome’s implementation jumped from a few 100ms to over 5 minutes on adding a single character. Made the whole thing quite useless.

Re: New WebKit features in Safari 15.4

#42

Until Apple fixes the mess they made with ad-blocking and allows full-fat ublock origin to work on Safari again, it could be 100x better than any other browser and it would still be worthless compared to Firefox. Shame, because I really do like Safari.

This is one of the main reasons we built Orion browser. Native app, with the same rendering engine and with native extensions support. https://browser.kagi.com

Any invites that you could share without having to wait 3 weeks for the next round to go out?

Re: New WebKit features in Safari 15.4

#43

Until Apple fixes the mess they made with ad-blocking and allows full-fat ublock origin to work on Safari again, it could be 100x better than any other browser and it would still be worthless compared to Firefox. Shame, because I really do like Safari.

Try Firefox on iOS. It’s webkit, but not bad.

Re: New WebKit features in Safari 15.4

#44
> 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

#45

Funny how the test button does not work on Safari 15.3, if it's not backward compatible, it might not be worth implementing. But kudos on the gradiant and CSS improvements.

They're literally announcing that they are adding support for it as of 15.4. None of the other things mentioned here will work on 15.3 either.

Re: New WebKit features in Safari 15.4

#46

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.

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.

Re: New WebKit features in Safari 15.4

#47

Now all major browsers support the element without polyfill. Yay! https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di...

On that note, TIL about screen reader issues related to dialogs in general, including this built-in. Seems like the question is primarily around how to update the focus target from the "invoking element" to the dialog's content in a reader-friendly way. There's a linked post from the MDN docs with more detail https://www.scottohara.me/blog/2019/03/05/open-dialog.html#i.... They actually still recommend a custom implementation that's considered more robust when used with screen readers: https://github.com/KittyGiraudel/a11y-dialog. I'm glad there's a callout on the MDN docs as I would have assumed this dialog element is screen reader clean. Focus management is always a tough thing regardless.

Re: New WebKit features in Safari 15.4

#50
post #41

Here I am still waiting for ES2018 regex look-behinds to be implemented. The folks working on the regex engine must have jumped ship or something.

What use do you have for that in a web application? Anecdote: I tried (limited) CSS validation to through a regexp some time ago, and it worked, except that Chrome’s implementation jumped from a few 100ms to over 5 minutes on adding a single character. Made the whole thing quite useless.

look behind assertions can be super useful - obviously you can workaround the lack of them, but sometimes simply having them there makes life easier.

OTOH get look behind perf to not be horrific is challenging

Post reply on HN