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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-1-expected.txt

Issue 2771623003: DevTools: add tests to fixate javascript outline behavior (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-1-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-1-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-1-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..22a5e664122d1630244531d5fd87311e532501c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-1-expected.txt
@@ -0,0 +1,34 @@
+Verify javascript outline
+
+
+Running: testSimpleFunction
+Text:
+ function foo(a, b, c) {}
+Outline:
+ foo(a, b, c):0:9
+
+Running: testSpreadOperator
+Text:
+ function foo(a, b, ...c) {}
+Outline:
+ foo(a, b, ...c):0:9
+
+Running: testVariableDeclaration
+Text:
+ var a = function(a,b) { }
+Outline:
+ a(a, b):0:8
+
+Running: testMultipleVariableDeclaration
+Text:
+ var a = function(a,b) { }, b = function(c,d) { }
+Outline:
+ a(a, b):0:8
+ b(c, d):0:31
+
+Running: testObjectProperty
+Text:
+ a.b.c = function(d, e) { }
+Outline:
+ c(d, e):0:8
+

Powered by Google App Engine
This is Rietveld 408576698