Re:Kosmonaut: web browser from scratch in Rust
by jefftk on Saturday August 15, 2020 @08:16PM
(#24173628)
> I wonder whether one could reuse testcases from other browsers.
Even better: there is a shared set of test cases and infrastructure that the web standards and compatibility folks have built: https://wpt.fyi
I wonder whether one could reuse testcases from other browsers. Might be easier than having humans translate those WHATWG descriptions, written for humans, into a form that computers running tests can use.
And nitpick: it isn’t easier than ever. It was a lot easier for Tim Berners-Lee and the first few other browser writers, before there was a lot of agreement on how a browser was supposed to behave. Certainly, before JavaScript and css, SVG, XML, etc. The scope was a lot smaller.