Index: test/mjsunit/es6/computed-property-names-classes.js |
diff --git a/test/mjsunit/es6/computed-property-names-classes.js b/test/mjsunit/es6/computed-property-names-classes.js |
index eebf99aef5eab829be1d58bff31ac0c3a65d3bce..da8e1d8dcbbbae71c57bbd9e577403827e4d29bd 100644 |
--- a/test/mjsunit/es6/computed-property-names-classes.js |
+++ b/test/mjsunit/es6/computed-property-names-classes.js |
@@ -81,7 +81,7 @@ function ID(x) { |
// TODO(arv): It is not clear that we are adding the "standard" properties |
// in the right order. As far as I can tell the spec adds them in alphabetical |
// order. |
- assertArrayEquals(['length', 'name', 'prototype', 'a', 'b', 'c', 'd'], |
+ assertArrayEquals(['length', 'prototype', 'a', 'b', 'c', 'd', 'name'], |
Object.getOwnPropertyNames(C)); |
})(); |
@@ -99,7 +99,7 @@ function ID(x) { |
assertEquals('D', C[2]()); |
// Array indexes first. |
assertArrayEquals([], Object.keys(C)); |
- assertArrayEquals(['1', '2', 'length', 'name', 'prototype', 'a', 'c'], |
+ assertArrayEquals(['1', '2', 'length', 'prototype', 'a', 'c', 'name'], |
Object.getOwnPropertyNames(C)); |
})(); |
@@ -118,7 +118,7 @@ function ID(x) { |
assertEquals('C', C.c()); |
assertEquals('D', C[sym2]()); |
assertArrayEquals([], Object.keys(C)); |
- assertArrayEquals(['length', 'name', 'prototype', 'a', 'c'], |
+ assertArrayEquals(['length', 'prototype', 'a', 'c', 'name'], |
Object.getOwnPropertyNames(C)); |
assertArrayEquals([sym1, sym2], Object.getOwnPropertySymbols(C)); |
})(); |