[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    tests/khtmltests/regression/tests/js
From:       Maks Orlovich <maksim () kde ! org>
Date:       2009-02-07 19:14:07
Message-ID: 1234034047.985023.14848.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 922909 by orlovich:

Regression test for #180605
CCBUG:180605


 M  +5 -0      Array.js  


--- trunk/tests/khtmltests/regression/tests/js/Array.js #922908:922909
@@ -239,3 +239,8 @@
     return b - a;
 }
 numbers2.sort(compareFn2);
+
+// Sparse arrays [0] access bug --- test for non-crashing actually
+A = [];
+A[20000] = 42;
+shouldBe('A[0]', 'undefined');
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic