web-platform-tests / wpt

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

Update HTMLAllCollection tests per spec updates #2641

Open DigiTec opened 8 years ago

DigiTec commented 8 years ago

whatwg/html#775

Consensus is achieved in the thread and there are existing tests for HTMLAllCollection that can be improved to match the newly proposed webIDL

bzbarsky commented 8 years ago

Note that the reflection tests for this are busted too because they keep insisting its typeof should be "function", but it needs to be "undefined".

foolip commented 8 years ago

In addition to testing the new behavior, it might also be good to add a historical.html that tests for the lack of support for whatever quirks we end up not adding to the spec, like maybe the two-argument legacy call or item() call.