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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-6.html

Issue 2770123002: DevTools: produce javascript outline for javascript classess (Closed)
Patch Set: address comments 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
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 async function test()
9 {
10 var test = InspectorTest.testJavascriptOutline;
11
12 InspectorTest.markStep('testClassAsNumberLiteralProperty');
13 await test('var foo = { 42: class { }};');
14
15 InspectorTest.markStep('testClassAsStringLiteralProperty');
16 await test('var foo = { "foo": class { }};');
17
18 InspectorTest.markStep('testClassAsIdentifierProperty');
19 await test('var foo = { foo: class { }};');
20
21 InspectorTest.completeTest();
22 }
23
24 </script>
25
26 </head>
27
28 <body onload="runTest()">
29 <p>Verify javascript outline</p>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698