web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
5k stars 3.1k forks source link

How to deal with tests for obsolete specs? #10734

Open jdm opened 6 years ago

jdm commented 6 years ago

Specifically, consider https://w3c.github.io/navigation-timing/#obsolete which has the text "kept here for backwards compatibility". There are a bunch of tests that use the obsolete performance.timing attribute: https://github.com/w3c/web-platform-tests/search?utf8=%E2%9C%93&q=%22performance.timing%22&type= . It's not totally clear if browsers are expected to implement backwards-compatible level 1 interfaces or not, or whether tests should be updated to use the level 2 spec instead.

gsnedders commented 6 years ago

@jdm I think the real answer here comes down to "do we expect browsers to keep on supporting the obsolete behaviour?", regardless of what the spec says.

Ms2ger commented 6 years ago

We should either have tests that they are supported, or that they aren't. Which of those depends on browser vendors.