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

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

Issue 2184193003: DevTools: fix formatting of continue statement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: semicolonAfterFunctionExpression 4 Running: semicolonAfterFunctionExpression
5 ====== 8< ------ 5 ====== 8< ------
6 var onClick = function() { 6 var onClick = function() {
7 console.log('click!'); 7 console.log('click!');
8 }; 8 };
9 console.log('done'); 9 console.log('done');
10 10
(...skipping 26 matching lines...) Expand all
37 , delay = 1000 37 , delay = 1000
38 , belay = document.activeElement; 38 , belay = document.activeElement;
39 39
40 ------ >8 ====== 40 ------ >8 ======
41 Correct mapping for <onStart> 41 Correct mapping for <onStart>
42 Correct mapping for <delay> 42 Correct mapping for <delay>
43 Correct mapping for <1000> 43 Correct mapping for <1000>
44 Correct mapping for <belay> 44 Correct mapping for <belay>
45 Correct mapping for <activeElement> 45 Correct mapping for <activeElement>
46 46
47 Running: continueStatementFormatting
48 ====== 8< ------
49 function foo() {
50 while (1) {
51 if (a)
52 continue;
53 test();
54 }
55 }
56
57 ------ >8 ======
58 Correct mapping for <function>
59 Correct mapping for <1>
60 Correct mapping for <continue>
61 Correct mapping for <test>
62
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698