OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="./resources/empty.js"></script> | 3 <script src="../sources/debugger/resources/edit-me.js"></script> |
4 <script src="../editor/editor-test.js"></script> | 4 <script src="../editor/editor-test.js"></script> |
5 <script src="../../http/tests/inspector/inspector-test.js"></script> | 5 <script src="../../http/tests/inspector/inspector-test.js"></script> |
6 <script src="../../http/tests/inspector/debugger-test.js"></script> | 6 <script src="../../http/tests/inspector/debugger-test.js"></script> |
7 <script> | 7 <script> |
8 function codeSnippet() { | 8 function codeSnippet() { |
9 return document.getElementById("codeSnippet").textContent; | 9 return document.getElementById("codeSnippet").textContent; |
10 } | 10 } |
11 | 11 |
12 function test() | 12 function test() |
13 { | 13 { |
14 InspectorTest.showScriptSource("empty.js", onSourceFrame); | 14 InspectorTest.showScriptSource("edit-me.js", onSourceFrame); |
15 | 15 |
16 var textEditor; | 16 var textEditor; |
17 function onSourceFrame(sourceFrame) | 17 function onSourceFrame(sourceFrame) |
18 { | 18 { |
19 textEditor = sourceFrame.textEditor; | 19 textEditor = sourceFrame.textEditor; |
20 textEditor.element.focus(); | 20 textEditor.element.focus(); |
21 InspectorTest.runTestSuite(testSuite); | 21 InspectorTest.runTestSuite(testSuite); |
22 } | 22 } |
23 | 23 |
24 var testSuite = [ | 24 var testSuite = [ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 </script> | 82 </script> |
83 </head> | 83 </head> |
84 | 84 |
85 <body onload="runTest();"> | 85 <body onload="runTest();"> |
86 <p> | 86 <p> |
87 This test checks how text editor updates autocompletion dictionary in a response | 87 This test checks how text editor updates autocompletion dictionary in a response |
88 to user input. | 88 to user input. |
89 </p> | 89 </p> |
90 </body> | 90 </body> |
91 </html> | 91 </html> |
OLD | NEW |