comparison: js/src/jit-test/tests/ion/bug728187.js
js/src/jit-test/tests/ion/bug728187.js
- branch
- TOR_BUG_3246
- changeset 7
- 129ffea94266
equal
deleted
inserted
replaced
|
1 function f(x) { |
|
2 if (x.y()) {}; |
|
3 } |
|
4 f({y: function() {}}); |
|
5 try { |
|
6 f(10); |
|
7 assertEq(0, 1); |
|
8 } catch(e) { |
|
9 assertEq(e instanceof TypeError, true); |
|
10 } |