10 ms·
I can't stand developing for Safari anymore
- Donckele 5y agoHas anyone also noticed that the BBC News website occasionally crashes latest safari on latest IOS? I’ve wanted to report this before but I seriously cannot be arsed.
- shellac 5y agoNo, never. And I use it all the time.
- HatchedLake721 5y ago.co.uk or .com? I’m on .co.uk everyday without any issues
- mcraiha 5y agoThe missing automatic updates part is the thing that bothers me more than anything else. Browsers are very popular attack surface. And if you need OS update to fix those issues, many won't install the updates immediately.
- thih9 5y agoApple installs security updates in background. E.g.: > Your Mac automatically installs background updates for the security configuration and data files used by macOS. Source: https://support.apple.com/en-us/HT207005 https://support.apple.com/en-us/HT207005
- sambe 5y agoIn principle, yes. In practice my experience is that neither macOS nor iOS is very automatic. All it takes on macOS is for another user to be logged in, or for you not to leave your laptop on charger overnight, or a single app to be open that doesn’t automatically shut down. I don’t understand why iOS can go so long without doing it (I’ve seen it go weeks with an update notification & being plugged in every night)
- moepstar 5y ago>I’ve seen it go weeks with an update notification & being plugged in every night Even tho you switched "Install iOS Updates" on?
- sambe 5y agoYes
- mips_avatar 5y agoIs Chrome more secure because it has its own update engine?
- feross 5y agoThat article is not saying that Apple installs security updates automatically. It downloads data files and configurations, which doesn’t fix security vulnerabilities.
- thih9 5y agoGood point; a more accurate example: https://9to5mac.com/2019/07/10/zoom-apple-macos-update/ https://9to5mac.com/2019/07/10/zoom-apple-macos-update/
- gentleman11 5y agoThe way the address bar appears and vanishes breaks calculations based on viewport height and just drives me crazy. You work around it with hacks in javascript. It’s marked as “wontfix” according to stack overflow
- xrd 5y agoI just read Cory Doctorow's column about quitting tobacco: https://doctorow.medium.com/i-quit-9ae7b6010c99 https://doctorow.medium.com/i-quit-9ae7b6010c99 He notes how big tobacco authored the playbook for all disinformation, that everyone uses right now: "a denialist doesn’t want to convince you that smoking is safe, they just want to convince that it’s impossible to say whether smoking is safe or not." Apple is intentionally making a "not truly shitty, just bad enough" browser to have us all eternally question whether PWAs, web apps and other open web technologies are inferior to apps. It's worth billions to them to do that. And, its awful that they are destroying a sphere where open culture could thrive and blossom while they do that.
- alphabettsy 5y agoMaybe, but even on desktop I nearly always prefer a native app over a web app.
- executesorder66 5y agoAnd in which cases specifically do you prefer a web app on desktop? I can't think of any that could possibly be better.
- 72deluxe 5y agoI can think of the "desktop" apps that are actually a bundled web browser like Slack and Skype. I utterly detest them - slow and without proper native menus and memory hogs. If only a native toolkit had been available to build the UI........ oh wait....
- nimih 5y agoMaybe it's the other direction, and Apple is trying to get website builders to realize that you can just serve an HTML page with a simple stylesheet, some images, and some forms, and it can be a great User Experience (UX).
- echelon 5y ago
- wildrhythms 5y agoStill no grid-gap in Safari for iPhone. https://developer.mozilla.org/en-US/docs/Web/CSS/gap#support_in_grid_layout https://developer.mozilla.org/en-US/docs/Web/CSS/gap#support... Yes, in order to apply uniform spacing between CSS grid items for iPhone users, you have to use margins, and thus deal with the "last item 0 margin" problem manually like it's 1999. Grid-gap is supported in Safari for OS X, Safari for iPad, but not Safari for iPhone. Apple is a 2 trillion dollar company that can't figure out grid-gap for iPhones. This is just the tip of the iceberg of nightmarishly annoying "bugs" (too soft a word) when it comes to Safari... don't get me started on the fullscreen API.
- dmitriid 5y ago> Still no grid-gap in Safari for iPhone. Ah, you're sad that Safari doesn't implement the full CSS Box Alignment Module Level 3 spec - which is still a draft version (so is continuously changing) - whose latest version was published just a week ago ?
- tinus_hn 5y agoOf course if your standard is ‘whatever Chrome does’ it’s different
- rektide 5y agolol the CSS Box Alignment Module spec started in 2012[1]. it's not exactly cutting edge. it is a bit hard to properly nail down this behavior, sure. but this is far from cutting edge. even when the spec was made, it was more trying to quantify what most of the browsers had already steered towards. apple is a serious foot dragger in every manner on the web. there's endless complaining about the web and "back in my day web pages were pages damn it" (aka demanding we all write & download native apps again for everything on every platform) and griping about modern capabilities (usually notifications (cause they're overtly terrible. and someday someone's going to write a browser that deals with permissions ambiently rather than with modals & Google's going to look like a real shit for permission spamming the web)). the truth is safari is a terrible dragging scourge and really basic stuff like box model isn't implemented until apple absolutely positively has to, and even then they break their stuff regularly. trying to be all "the spec isn't finallliiizzzeeddd" doesn't make me feel any better. I am sad that Safari doesn't have ~33% of CSS Box Alignment Module after a decade of it being reasonably well expectable. I am mad Apple roadblocks the web by refusing to allow other browsers to run or compete. [1] https://www.w3.org/TR/2012/WD-css3-align-20120612/ https://www.w3.org/TR/2012/WD-css3-align-20120612/
- dmitriid 5y agoGood thing there are voices of reason in those dumpster fire comments. It amazes me how most developers can't think beyond "me, my, mine": https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_stand_developing_for_safari_anymore/h2n4fgx/ https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_... https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_stand_developing_for_safari_anymore/h2px8cj/ https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_... https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_stand_developing_for_safari_anymore/h2o19ac/ https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_... https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_stand_developing_for_safari_anymore/h2pdrin/ https://old.reddit.com/r/webdev/comments/o5k8gb/rant_i_cant_...
- innocenat 5y agoThere's actual downside to this. You now need Mac just to develop the web, otherwise it might break on iOS too. My latest personal web design works well on Chrome and Firefox, but there were some z-index problem with Safari which I didn't know until someone report it to me. Good thing I have access to Mac, otherwise I wouldn't even know where to start.
- freediver 5y agoOK so let's have a thought experiment here. The only way to solve all these problems is to have just one browser. Because as soon as that number is greater than 1, there are going to be incompatibilities which will lead us to current state of affairs eventually. Would like a world with just one browser? Which one would it be?
- innocenat 5y agoFirefox and Chrom(ium) can be installed on almost all major OS. Microsoft has always provided VM images of Windows+IE/Edge in supported configuration in the common formats (VirtualBox, VMWare, etc) for free. Apple provide nothing after they discontinued Safari on Windows. I don't mind testing on all major browser as long as I am not required to buy a specific hardware for all the browsers.
- cblconfederate 5y agoWhere is the EU in this case ? Here's a company that is intentionally crippling a public standard that governments use to deliver their services all over the EU, and denormalizing it. Some public-facing APIs like web notifications should be mandatory and required to work in all browsers . A public body like the W3C could be making this kind of recommendations.
- tannhaeuser 5y ago"Public" web standards my ass. That are only implemented by Chrome, and are at best documenting what Chrome does after the fact. Coming from a self-serving, self-acclaimed "standardization" body (WHATWG) consisting of a bunch of Chrome devs, and having never delivered a single finalized spec. Which is now approaching tens of thousands of pages, with thousands of APIs only ever implemented by Chrome that are never going to be implemented by FF and Safari due to privacy (fingerprinting and other) concerns. And are you seriously calling on W3C to spec out even more absurd CSS complexity split out in tens of fragmented specs piled on top of each other, and superseding one another without explicit reference and lacking any formal semantics? Coming from a pay-as-you-go org? That is responsible for the stagnation of the web when they were busy with redefining the "web stack" in the 2000s (in good faith, but still) and consequently lost to Ian Hickson's WHATWG? If the EU and/or others are interested in standardization and sustainability, they should begin to demand and stick to standards in public services/tenders, and turn to standardization bodies with proper statue to clean up the mess.
- kahlonel 5y agoI, on the other hand, appreciate Safari not being an utter resource-hog and a battery drainer. I don't need all these shiny features. I'm ok with "dumbed down" static sites.
- Doctor_Fegg 5y agoExactly this. I've tried Chromium, I've tried Firefox. Safari is simply much faster. From TFA: > I'll add a banner asking the user to switch to a more modern browser, like Chrome or Firefox, if he's on a Mac. I believe the phrase is "good luck with that". Is the author's site genuinely more compelling than the user's choice of browser?
- swagasaurus-rex 5y agoSafari on osx makes requests to URLs you type in but before you actually hit enter. No doubt this makes it feel faster
- Doctor_Fegg 5y agoI've got that turned off. Still much, much faster than anything Chromium-based.
- jkmcf 5y agoWait until you try the new Safari Tech Preview. It seems significantly faster. So far, I don't hate the new UI, but I need to add more tabs.
- kcplate 5y agoExactly. If the site doesn’t work in Safari, I don’t need it. If you are designing a site for my consumption, you damn well better be designing it to be usable on my devices. Especially my iOS and iPadOS devices which account for about 70% of my tech use.
- andyana 5y ago
- matthewmacleod 5y agoThis kind of complaint has popped up quite a lot lately, and despite developing pretty complex web apps using lots of nice modern features I just don’t recognise it. This particular example isn’t even more than a childish rant. Developing for Safari is broadly fine. Main thing is it tends to get cutting-edge features a bit later than Chrome or Firefox. I encounter bugs at the same rate as any other browser… and that’s it. Depictions of Safari as “the new IE” are ludicrous to the extent they can only feasibly be from people who never worked with “the old IE”.
- giorgioz 5y agoThere is was one huge problem with Safari that can't be denied. Safari does not update itself. All other major browsers by now are ever-green browsers. Ever green browsers update on the go constantly, silently, in the background. Safari major updates are tied to update of the whole OS. This is a HUGE limitation. https://www.techopedia.com/definition/31094/evergreen-brows https://www.techopedia.com/definition/31094/evergreen-brows
- matthewmacleod 5y agoI don’t consider “my software doesn’t randomly change underneath me” to be a disadvantage. The number of bugs I have hit as a result of Chrome updating itself far outweighs the problems I’ve had from Safari being out of date.
- giorgioz 5y agothe word randomly does not apply to updates of Google Chrome. Updates in Google Chrome are a literal masterpiece of software engineering and continuous integration: https://developer.chrome.com/blog/new-in-chrome-91/ https://developer.chrome.com/blog/new-in-chrome-91/ Clearly regression bugs still happen but when they do happen they get fixed much faster and rolled-over sooner. Finally, stability gained exclusively by not changing things will turn in staleness and lack of innovation. Apple decreased their innovation efforts in the past ten years in exchange for incremental changes and just CASHING IN. This time they won't be able to re-hire Steve Jobs to come and save the day.
- ksec 5y ago>I'll add a banner asking the user to switch to a more modern browser, like Chrome or Firefox, if he's on a Mac. Just like IE. This site is best viewed on Chrome and Firefox. This brings back lots of good ( and bad ) memories LOL. Is there a single place with a list of things that Safari dont support or work differently compared to Chrome and Firefox? Or Basically a quirk mode list for all browsers?
- tlarkworthy 5y agothat would be https://caniuse.com/ https://caniuse.com/
- jongalloway2 5y agoHere's a really simple example of something that would benefit standard websites, not just complex web applications: image lazy loading. <img src="..." loading=lazy> Sure you can handle this with JavaScript, etc. The point is that this is one of countless papercuts - standard, useful behaviors that work everywhere but Safari. https://web.dev/browser-level-image-lazy-loading/ https://web.dev/browser-level-image-lazy-loading/ https://caniuse.com/loading-lazy-attr https://caniuse.com/loading-lazy-attr
- freediver 5y agoWebKit already has experimental support for this, just needs to be enabled in Dev tools. Which means it will be rolling in to Safari and other WebKit browsers soon.
- mdoms 5y agoYou need to stop. Stop developing for iphone. Tell your users, loudly, sorry, due to Apple limitations, iphone is not a supported platform.
- HatchedLake721 5y agoYes, stop developing for 1.5 billion people. That’ll do it! /s
- rado 5y agoAgree about the bugs, some of them are ridiculous. Every browser needs to fix bugs instead of adding new features. Firefox on Mac is not a viable alternative, because it's too slow.
- McDaniel568 5y agoThanks to this article I can learn more. Expand my knowledge and abilities. Actually the article is very real. https://www.mycardstatement.today/ https://www.mycardstatement.today/
- jordanthoms 5y agoYeah, this. ~95% of our usage is on chrome (our app is education so lots of chromebooks) and yet safari makes up 50% of the problems. The issues recently with localstorage being broken ( https://twitter.com/jaffathecake/status/1389493762129375232?lang=en https://twitter.com/jaffathecake/status/1389493762129375232?... ) have been particularly egregious, there's lots of users losing content on safari and we have to explain it's due to Apple breaking their browser (again).
- cudgy 5y agoWhat about your choice to use technology that you admit is broken? Or at least imply that Apple will break?
- ryandrake 5y agoWhat do your developers use as their "daily driver" browser? I bet it's Chrome. Reminds me of a decade ago, when IE6 was the bane of everyone's existence, yet no developer actually used IE6 regularly enough to catch bugs themselves. You've got to dogfood at least in proportion to your users. This also sounds a little like when application or game developers complain that some very high percentage of their bug reports come from Linux instead of Windows, but when you ask how many of their developers primarily develop and test on Linux, the answer is zero. Well, of course you're going to get most bugs on a platform not regularly used by the devs!
- jordanthoms 5y agoIt’s a mix of chrome and firefox, though also some safari to make sure we notice issues. What I’m talking about is obviously broken web apis ( another recent example: https://news.ycombinator.com/item?id=27509206 https://news.ycombinator.com/item?id=27509206 ), or missing features, not so much compatibility issues that would be explained by that. We have far fewer issues from Firefox for example, and certainly not major data loss bugs like those.
- jdmoreira 5y agoHumm. Maybe some of us want our browsers to be, you know, browsers! Not full-blown virtual machines. I'm quite happy with Safari. I don’t want web apps, I want web pages!
- rsa25519 5y agoIn that case, Safari should make it clear that its users should not expect web application to work well. OP proposes helping Safari do that by displaying informational banners when appropriate.
- jbverschoor 5y agoApplications work just fine. Developers have to be a bit more precise. For features not supported, really a non issue, considering the Android update and support cycles
- rraihansaputra 5y agoA lot "features not supported" by Safari is supported by Android > 4.4.4. I can target >90% of users on older Androids and still have compatibility issues with Safari users. Unacceptable.
- kyriakos 5y agoThat's not true, there are numerous bugs especially on ios. What all browser vendors have figured out is that browser updates should be decoupled form OS updates and this is what Google and Microsoft are getting right,frequent updates, new browser engine features and fixes are available almost immediately.
- cblconfederate 5y agoNotifications wouldn't waste any CPU cycles that aren't already there. There's no excuse for not implementing them other than forcing devs to use their app store.
- 5y ago
- kureikain 5y agoMy app has this funny bug about placeholder on textarea cannot handle newline character. This is Chrome https://share.getcloudapp.com/QwuA20oY https://share.getcloudapp.com/QwuA20oY This is safari https://share.getcloudapp.com/p9uANGol https://share.getcloudapp.com/p9uANGol
- HatchedLake721 5y agoThis item has exceeded its view limit! The item owner has been notified that their item has exceeded its view limit.
- gampleman 5y agoI on the other hand am utterly grateful that we have Safari: 1. It is a great browser from the users perspective. Nice UI, very fast, battery efficient. 2. Generally has a good privacy record and does propose and champion web tech around that. 3. Safari is pretty much the only reason we actually have web standards and the web isn't defined by the reference implementation - Chrome.
- jbverschoor 5y agoChrome wouldn’t even exist without WebKit/ apples push and contributions.
- feross 5y agoThat’s true. But at this point, I think Chrome might have more dev-rel people than Apple has full-time Safari engineers (!!) Before Chrome forked WebKit, they were doing the lion’s share of the work in WebKit. And even now a huge percentage of the security fixes in WebKit are credited to Google (according to macOS and iOS release notes). You have to give the devil his due: Google has invested in the web platform in a way that Apple never did.
- pieno 5y agoPretty sure Google would have forked KHTML or even Gecko themselves if Apple had not forked KHTML to become WebKit.
- karmakaze 5y ago3. ...except on iOS.
- Abishek_Muthian 5y ago> It is a great browser from the users perspective. Not for everyone, maybe for those users whom Tim Cook often sights as "won’t have to make risky decisions" like say installing uBlock origin. Besides, the rant in OP is not just developer problems but issues which prevent the developer from delivering best experience to the Safari users and thereby the users loose as well.
- jayflux 5y ago> Just like IE was a pain in the ass because it was the default browser, Safari is here to stay. IE wasn’t a pain because it was the default browser. IE was a pain because it was IE. Edge is the default browser today and I don’t think many people have an issue
- thibran 5y agoSafari is the new IE. We have to live with it.
- freediver 5y agoNot even close. Safari is everything a sane browser should be - fast, power efficient, privacy respecting. Few things that it lacks like extensions ecosystem are not making it the new IE.
- radicalriddler 5y agoI'm sorry I don't quite understand. In one instance he's like > Seriously? On iOS, you cannot install another web browser. Well, you can install an application named "Chrome", but it's only Safari with another skin. Because Apple forbids creating a web browser on iOS. And then later they say: > I'll add a banner asking the user to switch to a more modern browser, like Chrome or Firefox, if he's on a Mac. Just like IE. If they're all just Safari, what's changing browser going to do if they're on iOS and your above statement is correct????
- tngranados 5y agoHe specifically mentions that he'd show the banner if the user is on a Mac.
- tarsinge 5y agoI use Safari for development and the compatibility is great across all browsers.
- feross 5y agoApple totally broke IndexedDB in the latest version of Safari. It bit me recently and broke a ton of websites that use IndexedDB: > Apple's WebKit team has managed to break the popular IndexedDB JavaScript API in the latest version of Safari (14.1.1) on macOS 11.4 and iOS 14.6. > The bug, first reported on June 2, 2021, only manifests when applications first try to use IndexedDB NoSQL manager to store data. Reloading a web page or app implementing the API resolves the issue, according to several bug reports. https://www.theregister.com/2021/06/16/apple_safari_indexeddb_bug/ https://www.theregister.com/2021/06/16/apple_safari_indexedd... Here are a few more recent examples: https://twitter.com/feross/status/1386835131780931587 https://twitter.com/feross/status/1386835131780931587 https://twitter.com/feross/status/1392671684419735552 https://twitter.com/feross/status/1392671684419735552 https://twitter.com/feross/status/1263544033135038464 https://twitter.com/feross/status/1263544033135038464 I mean, look at this list of IndexedDB issues in Safari and tell me this is a reasonable platform to develop for: https://gist.github.com/pesterhazy/4de96193af89a6dd5ce682ce2adff49a https://gist.github.com/pesterhazy/4de96193af89a6dd5ce682ce2...
- LinAGKar 5y agoPlease don't link to old Reddit, as it doesn't look right on phones
- TeMPOraL 5y agoLooks better than the new one, even on a phone.
- noah-kun 5y agoI do all my browsing and development in Safari and I find using anything else quite unbearable. From the messy developer tools to the lack of system-wide password manager, the other browsers out there just don't do anything to deserve consideration. I recently did some benchmarks, all on the same device with purported support for the same processor, and the Brave browser cannot run one of my apps at anywhere near a usable speed. Benchmarking it produced scores _half_ that of Safari's (meaning half the speed of Safari). I've spent ages in Chrome trying to get it to simply wrap text when viewing the source code of scripts, which can be a literal pain because Google thinks Dark Mode isn't worth implementing for their developer tools. And I wish this left at least Firefox as an option, but every time I open a Firefox window or tab, it tries to read my machine's environment variables--if denied access to this sensitive information, it becomes unusable and unresponsive. No other browsers do this except those in the Firefox family, such as Tor Browser. Yeah, the privacy browser, as it calls itself. So now the narrative is that Apple isn't supporting PWAs because they want to make money from the App Store. First, they do support PWA features, because PWAs are not a singular thing, but a list of new ideas for web browser features. Second, installing web pages as apps by adding them to your mobile devices' Home Screen is a chore performed only by developers who are also die-hard Apple luddites. Only European developer-managers have brought up PWAs with me as a serious option and alternative to a native app. I can only try warn them that the general population in the West at least, has no clue what a PWA is and such "apps" will have no visibility on the App Store, amongst many other drawbacks. It just seems like a fantasy held by a niche group of developers with a pet argument against Apple that PWAs will ever gain mindshare or usage with anyone but each other--not the flock of average users they need. Please tell me I'm wrong about my final point--but part of the PWA "standard" is web workers. I understand these as Javascript files that run perpetually or periodically while the "app" is even closed or minimized. As Apple battles cookies and trackers, these web workers seem to be invisible to the user, so far as I can tell. Background App Refresh is another story, you can disable it or toggle it on a per-app basis. For Apple to support PWAs, they must first apply this same control to web workers, and with every other security setting. The iPhone was launched as a (proto)-PWA-only device, but developers hacked and pleaded for native app development by third parties, and Apple delivered. They're delivering on PWAs too, even though it's kind of redundant (I make cross-platform apps for web and mobile/native easily). Even as Apple lowers their fees/commission for App Store operation costs, and PWA features are carefully added along side--decades of light-weight competitors desperately spreading FUD and moving goal posts has created a subset of people (gamers mostly but some devs too) who think of Apple the same as people thought of "Reefer Madness" or any other psyop that is less about sound reasoning and engineering and more a battle of attrition.
- al2o3cr 5y agoLike listening (15 years ago) to a spoiled ASP developer whine about having to support browsers that don't have ActiveX.