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

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

Issue 1894343002: DevTools: pretty-print HTML (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 Verifies JavaScript pretty-printing functionality. 1 Verifies JavaScript pretty-printing functionality.
2 2
3 3
4 Running: trailingCommentsTest 4 Running: trailingCommentsTest
5 ====== 8< ------ 5 ====== 8< ------
6 noop(); 6 noop();
7 //#sourceMappingURL=program.js.map 7 //#sourceMappingURL=program.js.map
8 8
9 ------ >8 ====== 9 ------ >8 ======
10 10
11 Running: inlinedScriptFormatting 11 Running: inlinedScriptFormatting
12 ====== 8< ------ 12 ====== 8< ------
13 <html><body><script> 13 <html>
14 function f() {} 14 <body>
15 </script><script> 15 <script>
16 function g() { 16 function f() {}
17 var a; 17 </script>
18 window.return = 10; 18 <script>
19 if (a) 19 function g() {
dgozman 2016/04/19 01:55:03 Let's indent once?
lushnikov 2016/04/19 23:11:40 Done.
20 return; 20 var a;
21 } 21 window.return = 10;
22 </script></body></html> 22 if (a)
23 return;
24 }
25 </script>
26 </body>
27 </html>
28
23 ------ >8 ====== 29 ------ >8 ======
24 30
25 Running: generatorFormatter 31 Running: generatorFormatter
26 ====== 8< ------ 32 ====== 8< ------
27 function *max() { 33 function *max() {
28 var a = yield; 34 var a = yield;
29 var b = yield 10; 35 var b = yield 10;
30 if (a > b) 36 if (a > b)
31 return a; 37 return a;
32 else 38 else
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 console.log(arg); 92 console.log(arg);
87 } 93 }
88 test(a=>a + 2); 94 test(a=>a + 2);
89 95
90 ------ >8 ====== 96 ------ >8 ======
91 Correct mapping for <function> 97 Correct mapping for <function>
92 Correct mapping for <console> 98 Correct mapping for <console>
93 Correct mapping for <=>> 99 Correct mapping for <=>>
94 Correct mapping for <2> 100 Correct mapping for <2>
95 101
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698