description( "This tests that function inlining in the DFG JIT doesn't get confused about the global object to use for array allocation." ); window.jsTestIsAsync = true; function foo(x) { return [x, x + 1, x * 2]; } Array.prototype.thingy = 24; function done(value) { var expected = (24 + 3) * 200 + 19900 + 20100 + 39800; if (value == expected) testPassed("done() called with " + expected); else testFailed("done() called with " + value + ", but expected " + expected); finishJSTest(); } function doit() { document.getElementById("frameparent").innerHTML = ""; document.getElementById("frameparent").innerHTML = "