from Hacker News

News from WWDC23: WebKit Features in Safari 17 Beta

by itsuka on 6/6/23, 12:19 PM with 24 comments

  • by samwillis on 6/6/23, 12:27 PM

    Lots of really nice new stuff, particularly excited that Apple are finally embracing PWAs!

    Interesting to see Safari adding JPEG XL support just as Chrome dropped it:

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

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

  • by chocolatkey on 6/6/23, 6:53 PM

    Does anyone have more details on this point: "Support for Ed25519 cryptography." ? I imagine it's part of SubtleCrypto, is it based on https://wicg.github.io/webcrypto-secure-curves/ ?
  • by kevincox on 6/6/23, 8:09 PM

    > When a user adds a website to their Dock, Safari will copy the website’s cookies to the web app. That way, if someone is logged into their account in Safari, they will remain logged in within the web app. This will only work if the authentication state is stored within cookies. Safari does not copy over any other kind of local storage. After a user adds a web app to the Dock, no other website data is shared, which is great for privacy.

    This seems like a strange decision.

    1. Auth with local storage can be quite nice if you don't need to send the cookies to the server on every request.

    2. This will lead to different login states in the browser and in the "app" which is not what I would expect and can be inconvenient if you open links to that website.

  • by littlecranky67 on 6/6/23, 10:54 PM

    > Web apps on Mac support web push, badging, and all the usual web standards implemented by WebKit, just like web apps on iOS and iPadOS.

    Not a lie, but they leave out an important part: To have webpush or badges on iOS you need to "install" the web app - but since iOS PWAs block custom install buttons, the user had to know thst he has to push "Share" and "Add to home screen". To my experience, almost noone knows this or does this.

  • by FractalHQ on 6/6/23, 5:13 PM

    Nice now fix 3D transforms, SVG animations and clip-path or give me 200 hours of my life back. Safari rendering engine is a bug infested nightmare.
  • by meepmorp on 6/6/23, 5:32 PM

    Yay, safari 17 will support profiles!
  • by nmstoker on 6/6/23, 9:04 PM

    Seems like Apple got a bit more web friendly recently (esp. seeing web browsing demoed in Vision Pro)
  • by pjmlp on 6/6/23, 7:10 PM

    Lots of nice improvements.