Index: test/mjsunit/function-caller.js |
diff --git a/test/mjsunit/function-caller.js b/test/mjsunit/function-caller.js |
index bc01750f9351d48f6b7da633397ef38bb714c5fe..a2c54bbfd391d6170b3e93d025ac2964d7bc5f85 100644 |
--- a/test/mjsunit/function-caller.js |
+++ b/test/mjsunit/function-caller.js |
@@ -46,10 +46,10 @@ f(null); |
// 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); |
+// Check called from strict builtin functions. |
+[null, null].sort(f); |
+// Check called from sloppy builtin functions. |
"abel".replace(/b/g, function h() { |
assertEquals(String.prototype.replace, h.caller); |
}); |