RE: URL bugs and next steps

[+Sebastian]

From: Anne van Kesteren [mailto:annevk@annevk.nl]

> the state of the specification and testsuite.

Worth pointing out, since I guess it hasn't been publicized beyond IRC: as part of the jsdom project [1] (which is a hobby of mine), Sebastian has been working on a reference implementation of the URL Standard that follows the spec fairly exactly [2]. 

Notably, this has allowed us to recover coverage numbers [3] for the web-platform-tests test suite. Currently they are not so great, at ~70% of the reference implementation, and thus presumably ~70% of the specification, covered by tests. We plan to work on expanding this to 100%, and to contribute those tests back to web-platform-tests as we go.

This of course becomes even more powerful when combined with Sam's tooling for comparing cross-browser (and indeed cross-platform) results of the test suite.

From there of course we fall back to the usual pattern, of evaluating UA compatibility vs. the spec, and fixing instances where the spec is misaligned with reality. But with 100% coverage we should be in a better starting position.

[1]: https://github.com/tmpvar/jsdom

[2]: https://github.com/jsdom/whatwg-url

[3]: https://github.com/jsdom/whatwg-url/issues/8#issuecomment-109705181

Received on Tuesday, 16 June 2015 16:23:29 UTC