Index: test/mjsunit/function-prototype.js |
diff --git a/test/mjsunit/function-prototype.js b/test/mjsunit/function-prototype.js |
index 371311e49ae1a238b5c64e3319ae0c4d2d7b79f5..91e098809881ee06a7c974c9a528513a0d8fd0f3 100644 |
--- a/test/mjsunit/function-prototype.js |
+++ b/test/mjsunit/function-prototype.js |
@@ -90,8 +90,8 @@ assertEquals(F.prototype, GetPrototypeOf(F)); |
// in GetPrototypeOf and go to a monomorphic IC load instead. |
assertEquals(87, GetPrototypeOf({prototype:87})); |
-// Check the prototype is enumerable as specified in ECMA262, 15.3.5.2 |
+// Check the prototype is not enumerable, for compatibility with safari |
Lasse Reichstein
2009/09/09 09:26:38
Perhaps mention that this is a known incompatibili
Christian Plesner Hansen
2009/09/09 09:30:51
Done.
|
var foo = new Function("return x"); |
var result = "" |
for (var n in foo) result += n; |
-assertEquals(result, "prototype"); |
+assertEquals(result, ""); |