Use correct property descriptor in generators test
BUG= Review URL: https://codereview.chromium.org/1077413002 Cr-Commit-Position: refs/heads/master@{#27771}
This commit is contained in:
parent
0a4881600d
commit
80b7a962b2
@ -130,10 +130,10 @@ function TestGeneratorObjectPrototype() {
|
||||
|
||||
var throw_desc = Object.getOwnPropertyDescriptor(GeneratorObjectPrototype,
|
||||
"throw");
|
||||
assertTrue(next_desc !== undefined);
|
||||
assertTrue(next_desc.writable);
|
||||
assertFalse(next_desc.enumerable);
|
||||
assertTrue(next_desc.configurable);
|
||||
assertTrue(throw_desc !== undefined);
|
||||
assertTrue(throw_desc.writable);
|
||||
assertFalse(throw_desc.enumerable);
|
||||
assertTrue(throw_desc.configurable);
|
||||
|
||||
var iterator_desc = Object.getOwnPropertyDescriptor(GeneratorObjectPrototype,
|
||||
Symbol.iterator);
|
||||
|
Loading…
Reference in New Issue
Block a user