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

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

Issue 1125143004: DevTools: [PrettyPrint] support template literals in pretty-printing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments 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
(Empty)
1 Verifies JavaScript pretty-printing functionality.
2
3
4 Running: simpleLiteral
5 ====== 8< ------
6 var foo = `bar`;
7
8 ------ >8 ======
9 Correct mapping for <foo>
10 Correct mapping for <bar>
11
12 Running: multilineLiteral
13 ====== 8< ------
14 var foo = `this
15 bar`;
16
17 ------ >8 ======
18 Correct mapping for <foo>
19 Correct mapping for <bar>
20
21 Running: stringSubstitution
22 ====== 8< ------
23 var a = `I have ${credit + cash}$`;
24
25 ------ >8 ======
26 Correct mapping for <credit>
27 Correct mapping for <cash>
28
29 Running: multipleStringSubstitution
30 ====== 8< ------
31 var a = `${name} has ${credit + cash}${currency ? currency : "$"}`;
32
33 ------ >8 ======
34 Correct mapping for <credit>
35 Correct mapping for <cash>
36
37 Running: taggedTemplate
38 ====== 8< ------
39 escapeHtml`<div class=${classnName} width=${a + b}/>`;
40
41 ------ >8 ======
42 Correct mapping for <escapeHtml>
43 Correct mapping for <width>
44
45 Running: escapedApostrophe
46 ====== 8< ------
47 var a=`That`s great!`;
48 ------ >8 ======
49 Correct mapping for <That>
50 Correct mapping for <great>
51
OLDNEW
« no previous file with comments | « LayoutTests/inspector/sources/pretty-print-javascript-template-literals.html ('k') | Source/devtools/front_end/externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698