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

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

Issue 338253007: Revert "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, 6 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 3
4 Running: testSourceFrameContent 4 Running: testSourceFrameContent
5 ==Source frame contents start== 5 ==Source frame contents start==
6 <html> 6
7 <head> 7
8 <script src="../../../http/tests/inspector/inspector-test.js"></script> 8
9 <script src="../../../http/tests/inspector/debugger-test.js"></script> 9
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
46 ==Source frame contents end== 35 ==Source frame contents end==
47 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698