On 21 November 2012 13:08, Saurabh Khatri <[email protected]> wrote:
> The test that fails is actually a Layout test in webkit. The test is
> fast/dom/NodeList/nodelist-
> item-with-name.html
>
> I am using Android-jb webkit. The version number of webkit is 534.30.
> This test passes with V8 3.11 and fails with v8 3.14

I can't reproduce any failure on that test with WebKit 537.20. In any
case, it seems more likely that you get an answer on the WebKit list.

/Andreas


> On Wednesday, 21 November 2012 15:18:52 UTC+5:30, Saurabh Khatri wrote:
>>
>> 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

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to