News for hackers. Stuff that matters.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by remram on Friday July 30, 2021 @07:20PM (#28013612)
As a Linux developer, I can test my site in Firefox and Chrome (including on my CI). I can't test it in Safari. The fact that it differs the most makes it a real pain.

I don't really care whether an iOS developer considers this "invalid". My apps support platforms that I can afford to test on, and those that are compatible.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by my123 on Friday July 30, 2021 @07:36PM (#28013721)
The officially recommended way to test WebKit on Linux is to use the Epiphany browser shipped in GNOME, which shares the same engine (and a quite similar UI even).

Technical previews synchronised with the Safari Technology Preview available at https://webkit.org/downloads/ too.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by asddubs on Saturday July 31, 2021 @06:17AM (#28016855)
can't test stuff like ITP though. I ended up just buying an iphone 6s for $50
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by my123 on Saturday July 31, 2021 @01:07PM (#28019854)
ITP is part of Epiphany nowadays too: https://blogs.gnome.org/mcatanzaro/2020/09/16/epiphany-3-38-...

And it is part of WebKit's code base, not separately as only part of Safari. Consider Safari as just a UI layer.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by asddubs on Saturday July 31, 2021 @02:57PM (#28020715)
oh nice, it wasn't when I was first implementing ITP related stuff, that's good to know.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by yongjik on Friday July 30, 2021 @07:29PM (#28013669)
I don't know how faithful it is, but I recently discovered playwright and it contains a webkit build (even on Linux) which is (in theory) close enough to Safari for web UI testing.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by bkallus on Saturday July 31, 2021 @05:46AM (#28016752)
suckless.org's surf could work too.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by jdavis703 on Friday July 30, 2021 @07:33PM (#28013697)
Why can’t you use BrowserStack or a similar solution to do your MacOS testing? Because this is the same situation MacOS web developers encounter when testing Edge on Windows.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by barryvan on Friday July 30, 2021 @07:39PM (#28013754)
...except that Microsoft makes freely available Windows 10 virtual machine images for testing. [1] Apple expects you to buy a device (several if you need to test multiple iOS and iPadOS versions) or pay a third-party, BriwserStack, which is laggy and an additional cost.

[1] https://developer.microsoft.com/en-us/microsoft-edge/tools/v...

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by galvin on Friday July 30, 2021 @07:44PM (#28013800)
You probably don't need to test Edge on Windows if you are already testing Chrome since it's the same engine.

If you really want to you can test Edge on MacOS¹ or you can use the Windows virtual machines² that Microsoft provides for free.

1. https://www.microsoft.com/en-us/edge 2. https://developer.microsoft.com/en-us/microsoft-edge/tools/v...

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by jefftk on Saturday July 31, 2021 @07:52AM (#28017295)
No need to use a VM; just download and run: https://www.microsoftedgeinsider.com/en-us/download
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by dmitriid on Saturday July 31, 2021 @04:16AM (#28016379)
It's the same engine, but capabilities could be different: https://web-confluence.appspot.com/#!/confluence
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by vips7L on Sunday August 01, 2021 @08:34AM (#28025833)
Edge runs natively macOS
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by Dah00n on Saturday July 31, 2021 @04:16AM (#28016377)
Edge is chromium. You can test it just fine from a Mac.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by jeroenhd on Saturday July 31, 2021 @06:02AM (#28016802)
It depends, if you need to support old Edge (Spartan) you'll need to use one of the freely available virtual machines from Microsoft instead of just installing the browser.

Not a huge pain either, but given that there's still people out there that need to test on ie11 I wouldn't be surprised if Edge has befallen the same faith.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by jefftk on Saturday July 31, 2021 @07:51AM (#28017282)
Old Edge is essentially gone, since it autoupdated to New Edge. New Edge has Linux and Mac builds.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by MeinBlutIstBlau on Friday July 30, 2021 @07:25PM (#28013643)
I understand why Apple is doing it, but what does it hurt if I develop for Safari on Windows? Oh no you have to compile the app and support on Windows? Gimme a break. $1 Trillion company and they can't make that work is nothing short of a joke. The OS wars are nothing like they were in the 90s. Apple really needs to wake the hell up. Steve Balmer said it best:

"DEVELOPERS! DEVELOPERS! DEVELOPERS!"

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by woah on Friday July 30, 2021 @07:27PM (#28013661)
And Steve Ballmer really backed that up by making it possible to compile and test Windows and Microsoft products on every Linux distribution
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by emodendroket on Friday July 30, 2021 @07:39PM (#28013755)
Well it hurts because your company might not buy you a Mac.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by yellowfish on Friday July 30, 2021 @07:42PM (#28013783)
honestly why develop for safari anyway? you can't really complain about apple if you keep bending over backwards to support their software
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by Dah00n on Saturday July 31, 2021 @04:14AM (#28016370)
If up to 75% of paying customers browsing on mobile use safari would you serve them a broken website? Remember that 100% of browsers in iOS is safari. Everything else is just Safari with a skin. If I could I would block apple users out with a warning about their broken browser but I doubt any business survive for long if they had a habit of leaving money on the table.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by kryptk on Saturday July 31, 2021 @08:05AM (#28017367)
Every single iOS user I know uses Chrome as their browser specifically because Safari is a broken mess in which nothing ever works.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by username90 on Saturday July 31, 2021 @12:22PM (#28019489)
Iphone users aren't allowed to install Chrome. They want chrome, but all they get is a shitty chrome skin on Safari. It does trick a lot of people into thinking that they actually have chrome though.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by Leherenn on Saturday July 31, 2021 @03:55AM (#28016269)
iOS has around 75% of the mobile apps revenues apparently.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by emn13 on Saturday July 31, 2021 @05:10AM (#28016580)
In the US, I assume? Also, note that app stores aren't the only revenue, and precisely because the web does not work as well on ios devices, this number will be slightly biased in apples case.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by Leherenn on Saturday July 31, 2021 @05:34AM (#28016705)
It appears to be globally, though it depends on what you count exactly (65% of the total revenues, I was off sorry, but 80% of all subscription revenues). The reality is that the hundreds of millions in poorer countries with Android spend peanuts compared to rich countries. https://www.businessofapps.com/data/app-revenues/

But whatever the exact number, the point stands. In most cases, not supporting iOS is a silly business decision.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by ksec on Saturday July 31, 2021 @03:07PM (#28020781)
iOS number includes China Market, while Android's dont. So that distort the numbers a bit. But yes, the main point still stands.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by dTal on Friday July 30, 2021 @07:33PM (#28013700)
>I understand why Apple is doing it

Do you? It sounds like you're implying that they can't do it, despite also pointing out that they easily could.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by my123 on Friday July 30, 2021 @07:42PM (#28013773)
They did the technical work to allow WebKit to build on Windows: https://webkit.org/webkit-on-windows/

That's the AppleWin port which relies on non-redistributable libraries, using the iTunes compatibility libraries.

There's also upstream the WinCairo port, which is redistributable. (can be downloaded from Buildbot at https://trac.webkit.org/wiki/BuildingCairoOnWindows#Download...)

It's just that Apple doesn't want to make Safari as a whole available on Windows, while making it easy for others to develop browsers using that same engine - even on Windows.

Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by D13Fd on Friday July 30, 2021 @08:22PM (#28014017)
They used to distribute Safari on Windows. Back then it had little adoption.
Re:“Safari's buggy” is valid criticism, “Safari's behind Chr... by jefftk on Saturday July 31, 2021 @07:49AM (#28017270)
Little adoption among users, but still super useful to developers. I wish they still did.

(WebKit isn't enough; I often need to test Safari behavior specifically)