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

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

Issue 2569563002: DevTools: support pretty-print of async/await (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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-8-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/debugger-test.js"></script>
5 <script src="../../http/tests/inspector/sources-test.js"></script>
6
7 <script>
8
9 function test()
10 {
11 var testJSFormatter = InspectorTest.testPrettyPrint.bind(InspectorTest, "tex t/javascript");
12
13 InspectorTest.runTestSuite([
14 function asyncAwaitSupport(next)
15 {
16 var mappingQueries = ["async", "function", "foo", "return", "Promise ", "resolve"];
17 testJSFormatter("async function foo() {return await Promise.resolve( 1);}", mappingQueries, next);
18 },
19 ]);
20 }
21
22 </script>
23
24 </head>
25
26 <body onload="runTest()">
27 <p>Verifies JavaScript pretty-printing functionality.</p>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/sources/pretty-print-javascript-8-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698