Live data from Hacker News

Ladybird passes the Apple 90% threshold on web-platform-tests

twitter.com

181–190 of 272 posts

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#181

As someone who's been quite heavily involved with web-platform-tests, I'd caution against any use of the test pass rate as a metric for anything. That's not to belittle the considerable achievements of Ladybird; their progress is really impressive, and if web-platform-tests are helping their engineering efforts I consider that a win. New implementations of the web platform, including Ladybird, Servo, and Flow, are ex…

Could a hand-picked subset be selected to make that metric?

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#182
post #164

Earlier quoted context omitted.

OTOH, are all of the browsers supposed to move in lock step? Is chrome supposed to wait for everyone else's approval before launching any kind of feature?

That is literally how a standard supposed to work: arrive at consensus and have two independent implementations before it can be claimed to be a standard. Or at the very least arrive at an API shape and hammer out obvious problems before shipping. Otherwise you get Internet Explorer, in reverse: https://www.quirksmode.org/blog/archives/2021/08/breaking_th... Chrome literally doesn't even bother pretending that many o…

But is every feature in a browser supposed to be standardized? Like, it's against the rules somehow to develop features without asking permission from Apple and Mozilla?

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#183

Super impressive that an independent, non-corpo project has gotten this far this quickly.

Are they really non-corpo? I remember seeing some corpos bankrolling it? And in that sense, is it better than Gecko with firefox, which is non-profit?

I don't remember that; maybe you can look it up?

Ladybird is still far from usable or fast enough to even start comparing it to Gecko.

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#184
post #144
post #132

Earlier quoted context omitted.

The tweet mentions that this is an arbitrary metric thrust upon them by Apple, so I don’t think they would necessarily disagree with you. During the monthly updates they do also show the passing number of tests without including the encoding tests because of how much they skew things.

The problem is, there's no other good metric. We used to have Acid tests for CSS, but in absence of that, it's as good metric as any.

Are Acid tests no longer available?

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#185
post #184
post #144

Earlier quoted context omitted.

The problem is, there's no other good metric. We used to have Acid tests for CSS, but in absence of that, it's as good metric as any.

Are Acid tests no longer available?

They no longer reflect what the average user expects their browser to support. You can pass it and miss on several important things that are considered widespread features nowadays.

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#186

Earlier quoted context omitted.

While I haven't tried it myself, I've seen a few of the monthly summaries videos. Passing the tests and being fast enough for daily usage is two very different things and right now Ladybird doesn't appear to be all that speedy. Still an amazing feat of development from the entire team.

I was going to say the same thing. Why are the tests so disconnected from the usability? My assumption is the tests are closer to a unit test, while browsing a page is essentially an E2E test, and if anything in the pipeline goes wrong (especially given that we use complex JS everywhere) the result is essentially useless.

Even if they passed 100% of the tests, it's still possible they'd be too slow for practical, everyday use. Speed is not tested in these, only compatability.

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#187

There is a big jump in the graph! I wonder what contributed to that big improvement.

You can't tell if it's a big jump because the graph doesn't show the axes. Maybe it went from 89% to 90.2%. The jump may also be no more than typical previous increases not shown off the left-hand edge.

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#188

It's always struct me as interesting that ladybird is built with C++. I like C++, and prefer it to languages like Rust, but it's not uncommon to see new OSS projects using weird languages and the newest tools. Lots of languages offer improvements in regards to threading models, development speed, or cross-platform support which we don't get in C++. I suppose their success is likely directly related to the fact they m…

I believe they are or will be transitioning to Swift: https://x.com/awesomekling/status/1822236888188498031

I don't think this will ever happen. They may starting using Swift or some other newfangled language like Rust for some components, but it's almost never a good idea to rewrite something in a different language, and C++ is still the gold standard for this type of project.

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#189
post #11

Earlier quoted context omitted.

Browsers have been historically the biggest and most difficult projects, so hard to say why it wouldn’t be. When they can start promising 20k bounties for segfaults, they are getting close.

> Browsers have been historically the biggest and most difficult projects That's just a tired thrope that keeps being repeated by people who don't know any better.

Given how few generally usable browsers (3 with different skins) there are and how huge they are with basically required company backing for many employees... How is that a trope?

Re: Ladybird passes the Apple 90% threshold on web-platform-tests

#190
post #184
post #144

Earlier quoted context omitted.

The problem is, there's no other good metric. We used to have Acid tests for CSS, but in absence of that, it's as good metric as any.

Are Acid tests no longer available?

They are, but they arent great tests of what a browser is capable of. For example, Firefox does not pass Acid2 or Acid3
Post reply on HN