1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/js/src/jit-test/tests/baseline/bug844383.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +s = newGlobal() 1.5 +try { 1.6 + evalcx("\ 1.7 + function g() {\ 1.8 + h()\ 1.9 + }\ 1.10 + for (p in this) {\ 1.11 + function h(h) {\ 1.12 + ''instanceof 5\ 1.13 + }\ 1.14 + }\ 1.15 + h.valueOf=g;\ 1.16 + h==9\ 1.17 + ", s) 1.18 +} catch (e) {} 1.19 +try { 1.20 + evalcx("throw h", s) 1.21 +} catch (e) { 1.22 + try { 1.23 + "" + e 1.24 + } catch(e) {} 1.25 +}