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

Side by Side Diff: LayoutTests/inspector/sources/debugger/linkifier.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> 5 <script>
6 6
7 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; } 7 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; }
8 8
9 function dummyScript() 9 function dummyScript()
10 { 10 {
11 console.log("dummy string"); 11 console.log("dummy string");
12 } 12 }
13 13
14 function onload()
15 {
16 if (window.testRunner) {
17 testRunner.waitUntilDone();
18 testRunner.showWebInspector();
19 }
20 runTest();
21 }
22
23 function test() 14 function test()
24 { 15 {
25 InspectorTest.startDebuggerTest(waitForScripts); 16 InspectorTest.startDebuggerTest(waitForScripts);
26 var panel = WebInspector.inspectorView.panel("sources"); 17 var panel = WebInspector.inspectorView.panel("sources");
27 var scriptFormatter = InspectorTest.scriptFormatter(); 18 var scriptFormatter = InspectorTest.scriptFormatter();
28 var linkifier; 19 var linkifier;
29 var link; 20 var link;
30 var script; 21 var script;
31 var uiSourceCode; 22 var uiSourceCode;
32 23
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 73
83 function liveLocationsCount() 74 function liveLocationsCount()
84 { 75 {
85 return script._locations.size(); 76 return script._locations.size();
86 } 77 }
87 } 78 }
88 79
89 </script> 80 </script>
90 </head> 81 </head>
91 82
92 <body onload="onload()"> 83 <body onload="runTest()">
93 <p> 84 <p>
94 Tests that Linkifier works correctly. 85 Tests that Linkifier works correctly.
95 <p> 86 <p>
96 87
97 </body> 88 </body>
98 </html> 89 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698