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

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

Issue 2823233004: DevTools: make JSFormatter aware of parenthesized expressions (Closed)
Patch Set: ac Created 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-9-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/sources-test.js"></script>
5
6 <script>
7
8 function test()
9 {
10 var testJSFormatter = InspectorTest.testPrettyPrint.bind(InspectorTest, "tex t/javascript");
11
12 InspectorTest.runTestSuite([
13 function parenthesizedExpressions(next)
14 {
15 var mappingQueries = ["if", "((a))", "((b));", "else", "(c)"];
16 testJSFormatter("if((a))((b));else (c);", mappingQueries, next);
17 },
18 ]);
19 }
20
21 </script>
22
23 </head>
24
25 <body onload="runTest()">
26 <p>Verifies JavaScript pretty-printing functionality.</p>
27 </body>
28 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-9-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698