1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/baseline/bug844464.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +// |jit-test| error: TypeError 1.5 +Object = function () {}; 1.6 +var p = Proxy.create({}); 1.7 +Object.prototype.__proto__ = p; 1.8 +function newFunc(x) { new Function(x)(); }; 1.9 +newFunc('\ 1.10 +function f(v, value) {\ 1.11 + "failed: " + v + " " + value\ 1.12 +}\ 1.13 +f({}, false);\ 1.14 +f(Object.prototype, false);\ 1.15 +');