Add a test for empty names in HTMLCollection in DOM.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22291