1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/proxy/getElementIfPresent-not-present.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,5 @@ 1.4 +x = (/x/).exec(); 1.5 +y = wrapWithProto((new WeakMap), x); 1.6 +y.length = 7; 1.7 +Array.prototype.push.call(y, 1); 1.8 +Array.prototype.reverse.call(y);