| Index: test/mjsunit/function-caller.js
|
| ===================================================================
|
| --- test/mjsunit/function-caller.js (revision 9006)
|
| +++ test/mjsunit/function-caller.js (working copy)
|
| @@ -46,3 +46,10 @@
|
| // Check called from eval.
|
| eval('f(null)');
|
|
|
| +// Check called from builtin functions. Only show the initially called
|
| +// (publicly exposed) builtin function, not it's internal helper functions.
|
| +[Array.prototype.sort, Array.prototype.sort].sort(f);
|
| +
|
| +"abel".replace(/b/g, function h() {
|
| + assertEquals(String.prototype.replace, h.caller);
|
| +});
|
|
|