Index: test/mjsunit/es6/reflect.js |
diff --git a/test/mjsunit/es6/reflect.js b/test/mjsunit/es6/reflect.js |
index ee272b0fc799da2c8de704675e53f90806e40756..d597a78901ad35a081d167a87c651cad01f86c0c 100644 |
--- a/test/mjsunit/es6/reflect.js |
+++ b/test/mjsunit/es6/reflect.js |
@@ -541,6 +541,13 @@ function prepare(target) { |
[s2]: 0, "-1": 0, "88": 0, "aaa": 0 }; |
assertEquals(["0", "42", "88", "bla", "-1", "aaa", s1, s2], |
Reflect.ownKeys(obj)); |
+ // Force dict-mode elements. |
+ delete obj[0]; |
+ assertEquals(["42", "88", "bla", "-1", "aaa", s1, s2], |
+ Reflect.ownKeys(obj)); |
+ // Force dict-mode properties. |
+ delete obj["bla"]; |
+ assertEquals(["42", "88", "-1", "aaa", s1, s2], Reflect.ownKeys(obj)); |
})(); |