Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: test/mjsunit/es6/generators-runtime.js

Issue 1077413002: Use correct property descriptor in generators test (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/generators-runtime.js
diff --git a/test/mjsunit/es6/generators-runtime.js b/test/mjsunit/es6/generators-runtime.js
index 6e8ee2ebd3a050e32a601f19f1da40175a4ebd9b..115c7a4149908c9f0fd5725983dd2a23d4b6a286 100644
--- a/test/mjsunit/es6/generators-runtime.js
+++ b/test/mjsunit/es6/generators-runtime.js
@@ -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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698