Commit 80b7a962 authored by ben's avatar ben Committed by Commit bot

Use correct property descriptor in generators test

BUG=

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

Cr-Commit-Position: refs/heads/master@{#27771}
parent 0a488160
......@@ -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);
......
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