| Index: third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-5.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-5.html b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-5.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c7632ea2405fc483bcd585bdd8b4ba9e3566997e
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/outline-javascript-5.html
|
| @@ -0,0 +1,37 @@
|
| +<html>
|
| +<head>
|
| +<script src="../../http/tests/inspector/inspector-test.js"></script>
|
| +<script src="../../http/tests/inspector/sources-test.js"></script>
|
| +
|
| +<script>
|
| +
|
| +async function test()
|
| +{
|
| + var test = InspectorTest.testJavascriptOutline;
|
| +
|
| + InspectorTest.markStep('testComputedProperty');
|
| + await test('a.b[c] = function() { };');
|
| +
|
| + InspectorTest.markStep('testComputedPropertyInTheMiddle');
|
| + await test('a.b[c].d = function() { };');
|
| +
|
| + InspectorTest.markStep('testComputedPropertyForExpression');
|
| + await test('(a || b).c = function() { };');
|
| +
|
| + InspectorTest.markStep('testPropertyStringLiteral');
|
| + await test('var foo = { "bar": function() { }}');
|
| +
|
| + InspectorTest.markStep('testPropertyNumberLiteral');
|
| + await test('var foo = { 42: function() { }}');
|
| +
|
| + InspectorTest.completeTest();
|
| +}
|
| +
|
| +</script>
|
| +
|
| +</head>
|
| +
|
| +<body onload="runTest()">
|
| +<p>Verify javascript outline</p>
|
| +</body>
|
| +</html>
|
|
|