Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: LayoutTests/inspector/sources/debugger/open-close-open-expected.txt

Issue 267393003: DevTools: Load document (html) content from disk cache in page agent enabling. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 Debugger was enabled. 3 Debugger was enabled.
4 4
5 Running: testSourceFrameContent 5 Running: testSourceFrameContent
6 ==Source frame contents start== 6 ==Source frame contents start==
7 7 <html>
8 8 <head>
9 9 <script src="../../../http/tests/inspector/inspector-test.js"></script>
10 10 <script src="../../../http/tests/inspector/debugger-test.js"></script>
11 <script> 11 <script>
12 12
13 function test() 13 function test()
14 { 14 {
15 InspectorTest.evaluateInPage("frontendReopeningCount", function(result) { 15 InspectorTest.evaluateInPage("frontendReopeningCount", function(result) {
16 if (result._description === "0") 16 if (result._description === "0")
17 InspectorTest.evaluateInPage("reopenFrontend()") 17 InspectorTest.evaluateInPage("reopenFrontend()")
18 else { 18 else {
19 InspectorTest.runDebuggerTestSuite([ 19 InspectorTest.runDebuggerTestSuite([
20 function testSourceFrameContent(next) 20 function testSourceFrameContent(next)
21 { 21 {
22 InspectorTest.showScriptSource("open-close-open.html", didSh owScriptSource); 22 InspectorTest.showScriptSource("open-close-open.html", didSh owScriptSource);
23 23
24 function didShowScriptSource(sourceFrame) 24 function didShowScriptSource(sourceFrame)
25 { 25 {
26 InspectorTest.dumpSourceFrameContents(sourceFrame); 26 InspectorTest.dumpSourceFrameContents(sourceFrame);
27 next(); 27 next();
28 } 28 }
29 } 29 }
30 ]); 30 ]);
31 } 31 }
32 }); 32 });
33 } 33 }
34 34
35 </script> 35 </script>
36
37 </head>
38
39 <body onload="runTest()">
40 <p>
41 Tests that scripts panel displays resource content correctly after the open - cl ose - open sequence.
42 <a href="https://bugs.webkit.org/show_bug.cgi?id=56747">Bug 56747</a>
43 </p>
44 </body>
45 </html>
46
36 ==Source frame contents end== 47 ==Source frame contents end==
37 Debugger was disabled. 48 Debugger was disabled.
38 49
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698