OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector/inspector-test.js"></script> |
4 <script src="../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../http/tests/inspector/debugger-test.js"></script> |
5 <script src="resources/script1.js"></script> | 5 <script src="resources/script1.js"></script> |
6 <script src="resources/script2.js"></script> | 6 <script src="resources/script2.js"></script> |
7 <script src="resources/script3.js"></script> | 7 <script src="resources/script3.js"></script> |
8 | 8 |
9 <script> | 9 <script> |
10 | 10 |
11 function test() | 11 function test() |
12 { | 12 { |
13 InspectorTest.runDebuggerTestSuite([ | 13 InspectorTest.runDebuggerTestSuite([ |
14 function testSourceFramesCount(next) | 14 function testSourceFramesCount(next) |
15 { | 15 { |
16 var panel = WebInspector.panels.scripts; | 16 var panel = WebInspector.panels.sources; |
17 var select = panel._navigator._filesSelectElement; | 17 var select = panel._navigator._filesSelectElement; |
18 var sourceFrameCount = 0; | 18 var sourceFrameCount = 0; |
19 | 19 |
20 InspectorTest.showScriptSource("source-frame-count.html", step2); | 20 InspectorTest.showScriptSource("source-frame-count.html", step2); |
21 | 21 |
22 function step2() | 22 function step2() |
23 { | 23 { |
24 InspectorTest.showScriptSource("script1.js", step3); | 24 InspectorTest.showScriptSource("script1.js", step3); |
25 } | 25 } |
26 | 26 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 } | 84 } |
85 </script> | 85 </script> |
86 | 86 |
87 </head> | 87 </head> |
88 | 88 |
89 <body onload="runTest()"> | 89 <body onload="runTest()"> |
90 <p>Tests that scripts panel does not create too many source frames.</p> | 90 <p>Tests that scripts panel does not create too many source frames.</p> |
91 | 91 |
92 </body> | 92 </body> |
93 </html> | 93 </html> |
OLD | NEW |