Commit 81dd89ee authored by aandrey@chromium.org's avatar aandrey@chromium.org

Fix flaky console-format-es6.html test.

TBR=pfeldman

Review URL: https://codereview.chromium.org/722273002

git-svn-id: svn://svn.chromium.org/blink/trunk@185300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 4e878975
......@@ -63,11 +63,10 @@ console-format-es6.html:12 [Symbol(a)]
__proto__: Array[0]
globals[2]
Symbol(a)
console-format-es6.html:11 Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}
console-format-es6.html:11 Object {getter: (...), a: Symbol(), Symbol(a): 2}
a: Symbol()
getter: (...)
get getter: function getter() {}
Symbol(): 1
Symbol(a): 2
__proto__: Object
console-format-es6.html:12 [Object]
......@@ -75,14 +74,13 @@ console-format-es6.html:12 [Object]
length: 1
__proto__: Array[0]
globals[3]
Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}
Object {getter: (...), a: Symbol(), Symbol(a): 2}
a: Symbol()
getter: (...)
get getter: function getter() {}
Symbol(): 1
Symbol(a): 2
__proto__: Object
console-format-es6.html:11 Map {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2} => Object {foo: 1}}
console-format-es6.html:11 Map {Object {getter: (...), a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
size: (...)
__proto__: Map
<entries>
......@@ -91,11 +89,11 @@ console-format-es6.html:12 [Map]
length: 1
__proto__: Array[0]
globals[4]
Map {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2} => Object {foo: 1}}
Map {Object {getter: (...), a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
size: (...)
__proto__: Map
<entries>
console-format-es6.html:11 WeakMap {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2} => Object {foo: 1}}
console-format-es6.html:11 WeakMap {Object {getter: (...), a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
__proto__: WeakMap
<entries>
console-format-es6.html:12 [WeakMap]
......@@ -103,10 +101,10 @@ console-format-es6.html:12 [WeakMap]
length: 1
__proto__: Array[0]
globals[5]
WeakMap {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2} => Object {foo: 1}}
WeakMap {Object {getter: (...), a: Symbol(), Symbol(a): 2} => Object {foo: 1}}
__proto__: WeakMap
<entries>
console-format-es6.html:11 Set {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}}
console-format-es6.html:11 Set {Object {getter: (...), a: Symbol(), Symbol(a): 2}}
size: (...)
__proto__: Set
<entries>
......@@ -115,11 +113,11 @@ console-format-es6.html:12 [Set]
length: 1
__proto__: Array[0]
globals[6]
Set {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}}
Set {Object {getter: (...), a: Symbol(), Symbol(a): 2}}
size: (...)
__proto__: Set
<entries>
console-format-es6.html:11 WeakSet {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}}
console-format-es6.html:11 WeakSet {Object {getter: (...), a: Symbol(), Symbol(a): 2}}
__proto__: WeakSet
<entries>
console-format-es6.html:12 [WeakSet]
......@@ -127,7 +125,7 @@ console-format-es6.html:12 [WeakSet]
length: 1
__proto__: Array[0]
globals[7]
WeakSet {Object {getter: (...), a: Symbol(), Symbol(): 1, Symbol(a): 2}}
WeakSet {Object {getter: (...), a: Symbol(), Symbol(a): 2}}
__proto__: WeakSet
<entries>
console-format-es6.html:11 Map {Map {} => WeakMap {}}
......
......@@ -19,9 +19,8 @@ function onload()
var obj = {
get getter() {}
};
obj[Symbol()] = 1;
obj[smb2] = 2;
obj["a"] = smb1;
obj[smb2] = 2;
var map = new Map();
var weakMap = new WeakMap();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment