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

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

Issue 2560963002: [Devtools] Upgrade acorn services to use ECMAScript7 (Closed)
Patch Set: Created 4 years 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../http/tests/inspector/debugger-test.js"></script>
5 <script src="../../http/tests/inspector/sources-test.js"></script> 5 <script src="../../http/tests/inspector/sources-test.js"></script>
6 6
7 <script> 7 <script>
8 8
9 function test() 9 function test()
10 { 10 {
(...skipping 28 matching lines...) Expand all
39 { 39 {
40 var mappingQueries = ["||", "null", ";"]; 40 var mappingQueries = ["||", "null", ";"];
41 testJSFormatter("1||null;", mappingQueries, next); 41 testJSFormatter("1||null;", mappingQueries, next);
42 }, 42 },
43 43
44 function squashMultipleNewlines(next) 44 function squashMultipleNewlines(next)
45 { 45 {
46 var mappingQueries = ["a", "b"]; 46 var mappingQueries = ["a", "b"];
47 testJSFormatter("a();\n\n\n\n\n\n\n\n\nb();", mappingQueries, next); 47 testJSFormatter("a();\n\n\n\n\n\n\n\n\nb();", mappingQueries, next);
48 }, 48 },
49
50 function ensureExponentialOperator(next)
51 {
52 var mappingQueries = ["2", "**", "3"];
53 testJSFormatter("2**3", mappingQueries, next);
54 },
49 ]); 55 ]);
50 } 56 }
51 57
52 </script> 58 </script>
53 59
54 </head> 60 </head>
55 61
56 <body onload="runTest()"> 62 <body onload="runTest()">
57 <p>Verifies JavaScript pretty-printing functionality.</p> 63 <p>Verifies JavaScript pretty-printing functionality.</p>
58 </body> 64 </body>
59 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698