Index: test/mjsunit/with-readonly.js |
diff --git a/test/mjsunit/with-readonly.js b/test/mjsunit/with-readonly.js |
index 29982b34746dd0136808154c5d5ad58960cb5212..e29520a4dccb26a990420c14647a77d0d4ce9c6c 100644 |
--- a/test/mjsunit/with-readonly.js |
+++ b/test/mjsunit/with-readonly.js |
@@ -27,8 +27,6 @@ |
// Test that readonly variables are treated correctly. |
-// Flags: --es5_readonly |
- |
// Create an object with a read-only length property in the prototype |
// chain by putting the string split function in the prototype chain. |
var o = {}; |
@@ -38,8 +36,8 @@ function f() { |
with (o) { |
length = 23; |
length = 24; |
- assertEquals(2, length); |
+ assertEquals(24, length); |
} |
- assertEquals(2, o.length); |
} |
f(); |
+ |