diff -r 000000000000 -r 6474c204b198 js/src/jit-test/tests/self-hosting/invoke-self-hosted-with-primitive-this.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/js/src/jit-test/tests/self-hosting/invoke-self-hosted-with-primitive-this.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,7 @@ +try { + [0,0].sort(Array.some) + "".replace(RegExp(), Array.reduce) +} catch (error) { + if (!(error instanceof TypeError && error.message == "0 is not a function")) + throw error; +} \ No newline at end of file