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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-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
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-expected.txt b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..810ae02ece599a4217807cacb4ec13ba8ca39ef4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4-expected.txt
@@ -0,0 +1,39 @@
+Verify javascript outline
+
+
+Running: testAsyncFunction
+Text:
+ async function foo() { }
+Outline:
+ foo():0:15
+
+Running: testGeneratorFunction
+Text:
+ function* foo() { }
+Outline:
+
+Running: testMismatchBrackets
+Text:
+
+ function foo(a, b) {
+ if (a > b) {
+ return a;
+ }
+
+ function bar(eee) {
+ foo(eee, 2 * eee);
+ }
+
+Outline:
+ foo(a, b):1:9
+ bar(eee):6:9
+
+Running: testSyntaxError
+Text:
+
+ function notAGenerator(a, b) {
+ yield 10;
+ }
+Outline:
+ notAGenerator(a, b):1:9
+
« no previous file with comments | « third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-4.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698