comparison: js/src/jit-test/tests/ion/bug728187.js
js/src/jit-test/tests/ion/bug728187.js
- changeset 0
- 6474c204b198
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 } |