Index: test/mjsunit/date.js |
diff --git a/test/mjsunit/date.js b/test/mjsunit/date.js |
index 0aadfdedcddd0df33365f7029deeef6920137941..0fa23f8de169bfdb8f7300b1f336905aba4ba157 100644 |
--- a/test/mjsunit/date.js |
+++ b/test/mjsunit/date.js |
@@ -349,3 +349,8 @@ delete Date.prototype.getUTCMinutes; |
delete Date.prototype.getUTCSeconds; |
delete Date.prototype.getUTCMilliseconds; |
date.toISOString(); |
+ |
+(function TestDeleteToString() { |
+ assertTrue(delete Date.prototype.toString); |
+ assertTrue('[object Date]' !== Date()); |
+})(); |