diff options
Diffstat (limited to 'deps/v8/test/mjsunit/es6/computed-property-names-classes.js')
-rw-r--r-- | deps/v8/test/mjsunit/es6/computed-property-names-classes.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/es6/computed-property-names-classes.js b/deps/v8/test/mjsunit/es6/computed-property-names-classes.js index eebf99aef5..da8e1d8dcb 100644 --- a/deps/v8/test/mjsunit/es6/computed-property-names-classes.js +++ b/deps/v8/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)); })(); |