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

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

Issue 1125143004: DevTools: [PrettyPrint] support template literals in pretty-printing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 5 years, 7 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 | Annotate | Revision Log
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><body><script>
14 function f() {} 14 function f() {}
15 </script><script> 15 </script><script>
16 function g() { 16 function g() {
17 var a; 17 var a;
18 window.return = 10; 18 window.return = 10;
19 if (a) 19 if (a)
20 return; 20 return;
21 } 21 }
22 </script></body></html> 22 </script></body></html>
23 ------ >8 ====== 23 ------ >8 ======
24 24
25 Running: generatorFormatter 25 Running: generatorFormatter
26 ====== 8< ------ 26 ====== 8< ------
27 function *max() { 27 function *max() {
28 var a = yield; 28 var a = yield;
29 var b = yield; 29 var b = yield 10;
30 if (a > b) 30 if (a > b)
31 return a; 31 return a;
32 else 32 else
33 return b; 33 return b;
34 } 34 }
35 35
36 ------ >8 ====== 36 ------ >8 ======
37 Correct mapping for <max> 37 Correct mapping for <max>
38 Correct mapping for <*> 38 Correct mapping for <*>
39 Correct mapping for <else> 39 Correct mapping for <else>
40 40
41 Running: blockCommentFormatter 41 Running: blockCommentFormatter
42 ====== 8< ------ 42 ====== 8< ------
43 /** this 43 /** this
44 * is 44 * is
45 * block 45 * block
46 * comment 46 * comment
47 */ 47 */
48 var a = 10; 48 var a = 10;
49 49
50 ------ >8 ====== 50 ------ >8 ======
51 Correct mapping for <this> 51 Correct mapping for <this>
52 Correct mapping for <is> 52 Correct mapping for <is>
53 Correct mapping for <block> 53 Correct mapping for <block>
54 Correct mapping for <comment> 54 Correct mapping for <comment>
55 Correct mapping for <var> 55 Correct mapping for <var>
56 Correct mapping for <10> 56 Correct mapping for <10>
57 57
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698