64 points · by todsacerdoti · 3y ago · 87 comments
It's interesting how perceptions work. You could say, "Allowing Chromium to ship whatever they want with no regard for standards bodies or their consensus", and it'd be just as accurate.
Chrome is shipping a browser with a well-established goal of narrowing the gap between native apps and web apps, and so it pushes all these features for web apps. Safari seems to prioritise building a solid, fast browser for -websites-, so obviously, web app features will take a back seat. Almost everything in that list of missing features shipped in 16.4 is related to web apps.
And stuff like the Reporting API, which isn't web-app-specific, hasn't been released in Firefox yet either, so it's not like Safari's behind, even if you tag it with "2018"; it sounds like there's more to that story than just "they're five years behind".
Are you really that naive about Apple’s motivations here? From the article:
> They argued that if developers don't like its generous offer to take only 30% of their revenue, there's always Cupertino's highly capable browser to fall back on.
> The only problem, of course, is that lawyers and regulators ask follow-up questions like "is it?" and "what do developers think?"
> Which they did.
It is my professional mission to build a web that works for everyone.
Judging by this article, it's also his “professional mission” to present opinion as fact with no connection to reality.I was on the Safari/WebKit team from 2012-2015, and I can say with absolute certainty that the author has no clue what he's talking about with respect to how bug tracking, feature/bug prioritization, or headcount works at Apple.
I could elaborate on all of that for an hour or more, but what I will say is this:
The _number one_ problem with the speed of Safari/WebKit releases has always been that they have traditionally been tied to the release of major OS versions. A few of us on the team referred to this as the “fundamental tension,” i.e. the tug-of-war between yearly OS releases and the much-faster pace of innovation of the web platform.
Everyone on the team was aware of this. Many of us lobbied to change this. The holdup was _absolutely not_ due to any kind of willingness to keep Safari behind in order to push people toward native apps, it was due to the seemingly-immovable internal culture of everything being tied to a yearly OS release.
The culture finally started to change with the advent of the Safari Technology Preview builds, which were explicitly meant to offer insight into the progress of new WebKit features. It seems like my former colleagues have done a great job in pushing for greater transparency and more frequent release cycles since then, and I applaud them for doing so.
This is not the Safari/Webkit's teams fault, just far too small a team for such a complex project and Apple, without any competition on iOS and an adverse incentive to make the web a compelling platform was not going to fund it. This is in addition to the fact that Google was paying Apple not only for Safari search engine traffic but Chrome traffic as well.
Outside of the stability issues, the gaps in functionality especially for Web Apps became vast and it was not practical to build a viable Web App on iOS. No Install Prompts, no push, no orientation lock in addition to severe issues with scrolll (which haven't yet been fixed) meant the only way to build a working app was to go native.
The only thing that has changed, is that Apple realizes that competition is coming and they need to build a competitive browser. This is why they are investing now. Headcount and the development of Push Notifications was almost certainly related to this regulatory pressure.
This is a great outcome, and just with what's happened in the last year I'm really hopeful for the future.
That said, still quite a number of critical missing features and fixed are needed before Safari can truly be used as an application platform.
I think that all of the recent changes and increased transparency are great, but I disagree that the motivation behind those changes was any form of perceived or actual increased competition. From my perspective, this is the result of years--years!--of internal lobbying to improve transparency and increase release cadence.
Apple, on the whole, has never been interested in competing with other companies that operate in shared spaces on a feature-by-feature basis, even if it came at the expense of market share. The one and only guiding star has always been the user experience, and if there was no obvious user experience-based justification for prioritizing a feature or a bug fix, then it did not get prioritized, period.
This is, in part, why Apple engineers have always been adamant about third-party developers and users filing bugs--a higher quantity of reports makes it easier to justify addressing a particular issue to management during a given development cycle.
How would explain the enormous numbers of serious bugs, or the fact the Safari had slipped well behind Firefox, a non-profit with a fraction of the resources?
I lost count of the number of times local storage or indexedDB was broken by updates. Not to mention countless, very obvious regressions. Web Apps that would randomly crash 60 times a day (with one time requiring us to wait 1-2 months for the patch to role out.
Also even in the code base, you'd have (exceptionally talented) engineers juggling complete disparate and unrelated areas of code.
One major issue with no competition, is Apple never responded to developer needs. There were literally many thousands of requests for Push API for years and since no other vendor could implement them (no other vendor could even install Web Apps), there was no competitive pressure.
I don't buy the "user experience" argument. A browser full of bugs does not lead to a good user experience and the expense it imposes on developers is enormous.
As a personal example, we had such serious issues with scroll, tap to focus and bounce that the only solution was to recode all scroll-logic including scroll-bars, momentum bounce in javascript while the same app could be built with only minor issues in both Firefox and Chrome despite the fact that iOS Safari was our primary target.
As for the bugs, they just didn't get fixed. So many for, years and years.
That all said, this is past history, and I'm very hopeful for the future. The fact Apple has hired a ton more staff (including significant numbers of QA/Testers staff), a ton of really excellent web OG's and are pumping through both the features and the bugs really bodes well for the future of browser competition.
https://developer.apple.com/documentation/safari-release-not...
They shipped a lot of features in Safari over the years, including many that that landed before Chrome and Firefox's implementations, and in general, Safari has remained the fastest, most power-efficient browser on macOS. But PWA-specific features weren't high on the list. Users didn't want them; developers wanted them, and Apple has rarely prioritized what Developers want over what their Users want – with both being second to what Apple wants.
Installing to the home screen is not the reason they never took off.
It's because the user experience on them is terrible compared to native. Really is as simple as that.
… because there’s perverse incentives to keep it that way
My honest impression is that the entire "PWAs are good" are basically the crowd that make cheap apps discovering a way to sell to Mac users without having to actually make quality software. Any time I encounter a PWA or a chrome wrapper "native" app it's just another chance to experience an app that can't do basic things like "find" correctly.
The entire argument for PWAs is "it's cheaper". I have not once seen a "it results in a better UX or app".
Not necessarily cheaper to make but your revenue isn’t cut by 30%.
Also your app can run almost instantly by visiting a link. App Clips and Instant Apps don’t really cut the mustard unless your app is tiny
This reflects trends in software development. Cheap and easy for developer. Poor user experience.
You see, the goalposts on what "PWA-specific features" are are moved all the time. Because everyone selects their own set of features to wave about as "the one true support for PWAs".
Meanwhile Android has 70% of marketshare in the world, and none of the imagined PWA restrictions. And we've yet to see a single amazing PWA there that Apple is purportedly stopping from happening on iOS.
PWAs are a business solution to a business problem. They don't solve any problems for users.
TIL that I’m a web developer living under a rock.
For a while, I've figured that Apple tends to feel like it's got a self-imposed software-engineer shortage, judging from the long lists of bugs that they have. I've heard some people say that it's mostly a talent-allocation issue by management that seems to have other priorities or misplaced priorities or something. However, since Radar/Feedback Assistant acts like /dev/null most of the time, I figure they just need more engineers to actually work through the list of not-absolutely-critical bugs and spend more engineer-hours getting their software right.
Sorry, but some of us have actual lives outside of our jobs. :p
Oh hang on, this article is only talking about the release of some Apple beta. It's not even a release.
Some people have too much time on their hands I guess...
> Fullscreen API fixes
> AVIF and AV1 support
I thought iPhones also support AVIF now?
Safari support is another matter, and runs on its own schedule. I think Safari, in some configurations, supported WebP before macOS did.
Uh… I think I and every other developer has been saying this for many years. The number of developers who hadn’t “seen behind the veil” must be vanishingly small. Follow the Money was so obviously the reason. Don’t update Safari, reap that sweet sweet app money.
Nope. Most developers haven't been saying this. Also, it's bullshit.
I keep saying this: Android is 70% of world's market share. It has none of the "holding back the web" fully enjoying the Chrome monopoly with all its Chrome-only non-standards.
And yet there are literally zero "amazing paradigm shifting world shattering on par with native" PWAs that we hear that Apple is holding back.
Of course there aren’t. Nobody wants to build the same thing twice. Since PWAs are a no go on Safari, which, despite iOS being a minority compared to Android is still used by many of the wealthier coveted audiences, we would have to build it as a PWA for Android and native for iOS. We’ve consistently chosen not to do that. But, with these recent Safari changes, it might be enough for us to finally consider building PWAs.
Indeed
> we would have to build it as a PWA for Android and native for iOS. We’ve consistently chosen not to do that.
Translation: PWAs and their purported advantages are a myth
> But, with these recent Safari changes, it might be enough for us to finally consider building PWAs.
And they will invariably suck.
Edit: It looks like the only "argument" for PWAs is "but on iOS the people have more money". (They also use much more powerful devices than most Androids out there). So the "argument" for PWAs is "we can't even pretend to care about 70% of the addressable market, and even with the purported advantages we can't even begin to think of building these amazing PWAs that would open the doors to people on non-expensive devices etc. because those people have no money and those people dont have powerful phones"
This works with any kind of pre-formatted text (like a "pre" element with the generic monospace font-family) in every browser, as it has, since there have been browsers, but not with Chrome. For Chrome, we have to put epsilon in a span element, make it display as inline-block, assign a width (0.6em), align the character inside this box, just to write a very basic formula! (I call this "training wheels for text".)
Repro:
x = y × ε + c
y = x × 1 + c
⎛ 1 −1 ⎞
⎜ ⎟
⎝ ε 1 ⎠
Writing the character "ε" for Chrome: <span style="display: inline-block; width: 0.6em; text-align: center; overflow: visible; margin: 0; padding: 0; box-sizing: border-box;">ε</span>Exciting times. I hope the pressure on Apple is kept up
He demonstrated an unwillingness to accept that any opinion other than his own had merit in pretty much every part of the web ecosystem I ever had to interact with him in, and took the opinion that any problem anyone had with a proposal he wanted was made up or fundamentally invalid.
No. They just put their users ahead of developers.
And the huge success of the App Store model proves they were correct.
Users can go fuck themselves the day Apple decides to stop supporting hardware they bought but still prevent other vendors to provide alternative, up-to-date browsers on it.
I know, I inherited an iPad 2 that was lying around in a drawer. This machine is way less useful than what it could be because of its ancient Safari version.
This is the second time I read this sentence in this thread, it sounds like a cult.
That iPad 2 probably pre-dates Windows 8, and Google went and dropped support for Windows 8 just last month. Plus the OS wouldn't have gotten security updates. Here's a serious question: what good is a web-browsing device that you wouldn't trust to log in to anything on?
> This is the second time I read this sentence in this thread, it sounds like a cult.
It's a fairly popular meme in Apple-developer circles that Apple prioritizes itself first, users second, and developers third. This priority list tends to crop up often when complaining about Apple's developer tools and/or (lack of) documentation. It's something one tends to hear alongside complaints like "I like Swift the language, but the compiler crashes all the frigging time" on the Apple-developer podcasts I listen to.
Please show me a single device from 2011 that "other vendors" aka Google or even Mozilla support [1].
Not saying it's a good thing, but spite and hatred shouldn't replace facts.
[1] Probably apart from desktop. And even there: windows 8 was released in 2012. Chrome droped support for it in 2022, Mozilla will drop support for it this year.
And Apple ahead of both, of course.
I can't.
He has an intense irrational hatred towards Apple. But during all the years of him working at Google he never ever accepted any criticism towards Chrome and Google. The moment he went to work for Edge, he wrote a piece that leveled some criticism at Chrome but then kept on bashing Apple, and only Apple.
Imagine writing "Apple gutted Mozilla's chances" (https://infrequently.org/2022/06/apple-is-not-defending-brow... when it's well known that Google was first and foremost who gutted them (https://threadreaderapp.com/thread/1116871231792455686.html)
And so on and so forth.
He's vitriolic and spiteful, but sadly well-known and moderately influential.
Developers want a better browser on iOS, I agree. But do they also want to support multiple different browsers on iOS, each one with its own shortcomings and quirks?