DOMNodeList elements are accessible through array notation

Fixes #67949