Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / sources / debugger / open-close-open.html
blob5a0db02d8c1f299d10cf1d054c3ebe6bcaba62e1
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
7 function test()
9 InspectorTest.evaluateInPage("frontendReopeningCount", function(result) {
10 if (result._description === "0")
11 InspectorTest.evaluateInPage("reopenFrontend()")
12 else {
13 InspectorTest.runDebuggerTestSuite([
14 function testSourceFrameContent(next)
16 InspectorTest.showScriptSource("open-close-open.html", didShowScriptSource);
18 function didShowScriptSource(sourceFrame)
20 InspectorTest.dumpSourceFrameContents(sourceFrame);
21 next();
24 ]);
26 });
29 </script>
31 </head>
33 <body onload="runTest()">
34 <p>
35 Tests that scripts panel displays resource content correctly after the open - close - open sequence.
36 <a href="https://bugs.webkit.org/show_bug.cgi?id=56747">Bug 56747</a>
37 </p>
38 </body>
39 </html>