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