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

Unified Diff: src/generator.js

Issue 1051363003: Correct property descriptors on GeneratorPrototype (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | test/mjsunit/es6/generators-runtime.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/generator.js
diff --git a/src/generator.js b/src/generator.js
index 9ab7dcb9aab9b78baea82ca749ce129a5350be75..91cb0bee22e89eff40789ffba9576da011e9d712 100644
--- a/src/generator.js
+++ b/src/generator.js
@@ -89,7 +89,7 @@ function SetUpGenerators() {
// Set up non-enumerable functions on the generator prototype object.
var GeneratorObjectPrototype = GeneratorFunctionPrototype.prototype;
InstallFunctions(GeneratorObjectPrototype,
- DONT_ENUM | DONT_DELETE | READ_ONLY,
+ DONT_ENUM,
["next", GeneratorObjectNext,
"throw", GeneratorObjectThrow]);
« no previous file with comments | « no previous file | test/mjsunit/es6/generators-runtime.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698