OLD | NEW |
1 Tests that scripts panel displays resource content correctly after the open - cl
ose - open sequence. Bug 56747 | 1 Tests that scripts panel displays resource content correctly after the open - cl
ose - open sequence. Bug 56747 |
2 | 2 |
3 | 3 |
4 Running: testSourceFrameContent | 4 Running: testSourceFrameContent |
5 ==Source frame contents start== | 5 ==Source frame contents start== |
6 | 6 <html> |
7 | 7 <head> |
8 | 8 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
9 | 9 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
10 <script> | 10 <script> |
11 | 11 |
12 function test() | 12 function test() |
13 { | 13 { |
14 InspectorTest.evaluateInPage("frontendReopeningCount", function(result) { | 14 InspectorTest.evaluateInPage("frontendReopeningCount", function(result) { |
15 if (result._description === "0") | 15 if (result._description === "0") |
16 InspectorTest.evaluateInPage("reopenFrontend()") | 16 InspectorTest.evaluateInPage("reopenFrontend()") |
17 else { | 17 else { |
18 InspectorTest.runDebuggerTestSuite([ | 18 InspectorTest.runDebuggerTestSuite([ |
19 function testSourceFrameContent(next) | 19 function testSourceFrameContent(next) |
20 { | 20 { |
21 InspectorTest.showScriptSource("open-close-open.html", didSh
owScriptSource); | 21 InspectorTest.showScriptSource("open-close-open.html", didSh
owScriptSource); |
22 | 22 |
23 function didShowScriptSource(sourceFrame) | 23 function didShowScriptSource(sourceFrame) |
24 { | 24 { |
25 InspectorTest.dumpSourceFrameContents(sourceFrame); | 25 InspectorTest.dumpSourceFrameContents(sourceFrame); |
26 next(); | 26 next(); |
27 } | 27 } |
28 } | 28 } |
29 ]); | 29 ]); |
30 } | 30 } |
31 }); | 31 }); |
32 } | 32 } |
33 | 33 |
34 </script> | 34 </script> |
| 35 |
| 36 </head> |
| 37 |
| 38 <body onload="runTest()"> |
| 39 <p> |
| 40 Tests that scripts panel displays resource content correctly after the open - cl
ose - open sequence. |
| 41 <a href="https://bugs.webkit.org/show_bug.cgi?id=56747">Bug 56747</a> |
| 42 </p> |
| 43 </body> |
| 44 </html> |
| 45 |
35 ==Source frame contents end== | 46 ==Source frame contents end== |
36 | 47 |
OLD | NEW |