1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/basic/testDenseArrayProp.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +function testDenseArrayProp() 1.5 +{ 1.6 + [].__proto__.x = 1; 1.7 + ({}).__proto__.x = 2; 1.8 + var a = [[],[],[],({}).__proto__]; 1.9 + for (var i = 0; i < a.length; ++i) 1.10 + uneval(a[i].x); 1.11 + delete [].__proto__.x; 1.12 + delete ({}).__proto__.x; 1.13 + return "ok"; 1.14 +} 1.15 +assertEq(testDenseArrayProp(), "ok");