OLD | NEW |
(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> |
OLD | NEW |