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

Side by Side Diff: LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-1.html

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 <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="../../../inspector/sources/debugger/resources/unformatted.js"></scr ipt> 5 <script src="resources/unformatted.js"></script>
6 6
7 <script> 7 <script>
8 8
9 function f1() 9 function f1()
10 { 10 {
11 var a=0;var b=1;var c=3;var d=4;var e=5; 11 var a=0;var b=1;var c=3;var d=4;var e=5;
12 var f=0; 12 var f=0;
13 return 0; 13 return 0;
14 } 14 }
15 15
16 function onload()
17 {
18 if (window.testRunner) {
19 testRunner.waitUntilDone();
20 testRunner.showWebInspector();
21 }
22 runTest();
23 }
24
25 var test = function() 16 var test = function()
26 { 17 {
27 WebInspector.breakpointManager._storage._breakpoints = {}; 18 WebInspector.breakpointManager._storage._breakpoints = {};
28 var panel = WebInspector.inspectorView.showPanel("sources"); 19 var panel = WebInspector.inspectorView.showPanel("sources");
29 var scriptFormatter = InspectorTest.scriptFormatter(); 20 var scriptFormatter = InspectorTest.scriptFormatter();
30 var sourceFrame; 21 var sourceFrame;
31 22
32 InspectorTest.runDebuggerTestSuite([ 23 InspectorTest.runDebuggerTestSuite([
33 function testBreakpointsInOriginalAndFormattedSource(next) 24 function testBreakpointsInOriginalAndFormattedSource(next)
34 { 25 {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 InspectorTest.dumpBreakpointSidebarPane("while paused in raw"); 59 InspectorTest.dumpBreakpointSidebarPane("while paused in raw");
69 InspectorTest.removeBreakpoint(sourceFrame, 11); 60 InspectorTest.removeBreakpoint(sourceFrame, 11);
70 InspectorTest.resumeExecution(next); 61 InspectorTest.resumeExecution(next);
71 } 62 }
72 } 63 }
73 ]); 64 ]);
74 65
75 } 66 }
76 </script> 67 </script>
77 </head> 68 </head>
78 <body onload="onload()"> 69 <body onload="runTest()">
79 <p>Tests the script formatting is working fine with breakpoints. 70 <p>Tests the script formatting is working fine with breakpoints.
80 </p> 71 </p>
81 </body> 72 </body>
82 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698