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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt

Issue 1614563002: DevTools: [PrettyPrint] support arrow function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
Index: third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt
index 4ef16da16708ecefcd3348a6715ea843a0f3c294..0753e1ff664f0ada58491c859566a9dbf569ca4f 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-6-expected.txt
@@ -80,3 +80,16 @@ Correct mapping for <function>
Correct mapping for <alert>
Correct mapping for <2000>
+Running: arrowFunction
+====== 8< ------
+function test(arg) {
+ console.log(arg);
+}
+test(a=>a + 2);
+
+------ >8 ======
+Correct mapping for <function>
+Correct mapping for <console>
+Correct mapping for <=>>
+Correct mapping for <2>
+

Powered by Google App Engine
This is Rietveld 408576698