comparison: js/src/jit-test/tests/ion/bug728188.js
js/src/jit-test/tests/ion/bug728188.js
- changeset 0
- 6474c204b198
equal
deleted
inserted
replaced
|
1 // |jit-test| error:TypeError |
|
2 |
|
3 delete String.prototype.indexOf; |
|
4 |
|
5 function enterFunc (funcName) { |
|
6 funcName.indexOf(); |
|
7 } |
|
8 enterFunc(new Array("foo")); |
|
9 enterFunc(new String("Foo")); |