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

Unified Diff: src/d8.js

Issue 421313004: Enable ES6 Symbols by default (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « src/bootstrapper.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.js
diff --git a/src/d8.js b/src/d8.js
index 1e64b3c50dfd38f8318bcf7f233f570665c912c4..2b927aface10e732a2bdf7e1dee8c090ec9c417f 100644
--- a/src/d8.js
+++ b/src/d8.js
@@ -1997,10 +1997,7 @@ function Stringify(x, depth) {
} catch(e) {}
var props = [];
var names = Object.getOwnPropertyNames(x);
- if (Object.getOwnPropertySymbols) {
- // FLAG_harmony_symbols is turned on.
- names = names.concat(Object.getOwnPropertySymbols(x));
- }
+ names = names.concat(Object.getOwnPropertySymbols(x));
for (var i in names) {
var name = names[i];
var desc = Object.getOwnPropertyDescriptor(x, name);
« no previous file with comments | « src/bootstrapper.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698