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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-5.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('testComputedProperty');
13 await test('a.b[c] = function() { };');
14
15 InspectorTest.markStep('testComputedPropertyInTheMiddle');
16 await test('a.b[c].d = function() { };');
17
18 InspectorTest.markStep('testComputedPropertyForExpression');
19 await test('(a || b).c = function() { };');
20
21 InspectorTest.markStep('testPropertyStringLiteral');
22 await test('var foo = { "bar": function() { }}');
23
24 InspectorTest.markStep('testPropertyNumberLiteral');
25 await test('var foo = { 42: function() { }}');
26
27 InspectorTest.completeTest();
28 }
29
30 </script>
31
32 </head>
33
34 <body onload="runTest()">
35 <p>Verify javascript outline</p>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698