The result of document.querySelectorAll() is an instance of NodeList but it should be an instance of StaticNodeList. Step to reproduce: 1) Open the Console 2) Type "document.querySelectorAll('a')" Actual behaviour: [object NodeList] Expected behavour: [object StaticNodeList] There is no StaticNodeList object in the global scope either. Spec: http://www.w3.org/TR/selectors-api/#staticnodelist
This is INVALID. The latest draft of the spec (http://dev.w3.org/2006/webapi/selectors-api/) does not have a separate StaticNodeList interface.