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

Unified Diff: third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js

Issue 2569563002: DevTools: support pretty-print of async/await (Closed)
Patch Set: Created 4 years 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
Index: third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js
diff --git a/third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js b/third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js
index 1f9398bd0440d558bd542853d6d95634841006de..38b0da848c078fcba24aa7c14ba78990db31bb57 100644
--- a/third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js
+++ b/third_party/WebKit/Source/devtools/front_end/formatter_worker/ESTreeWalker.js
@@ -91,6 +91,7 @@ FormatterWorker.ESTreeWalker.SkipSubtree = {};
/** @enum {!Array.<string>} */
FormatterWorker.ESTreeWalker._walkOrder = {
+ 'AwaitExpression': ['arguments'],
'ArrayExpression': ['elements'],
'ArrowFunctionExpression': ['params', 'body'],
'AssignmentExpression': ['left', 'right'],

Powered by Google App Engine
This is Rietveld 408576698