The code snippet from DOM test is :-
var NodeList = document.getElementsByTagName("div");
var v1 = NodeList.div1;alert(v1); This test fails because NodeList conflicts with Dom Interface "NodeList" which provides the abstraction of an ordered collection of nodes. This NodeList now already has exsistence. If I rename NodeList to NodeList1 or to some other name, the test passes. Also, If I use this NodeList inside a function then it passes. There certainly is some change that has made NodeList's scope to global and hence it is conflicting. I am attaching both the test cases with which test fails and passes. -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
text1
text1
