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

Side by Side Diff: LayoutTests/inspector-enabled/sources/debugger/linkifier.html

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, 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
14 function test() 23 function test()
15 { 24 {
16 InspectorTest.startDebuggerTest(waitForScripts); 25 InspectorTest.startDebuggerTest(waitForScripts);
17 var panel = WebInspector.inspectorView.panel("sources"); 26 var panel = WebInspector.inspectorView.panel("sources");
18 var scriptFormatter = InspectorTest.scriptFormatter(); 27 var scriptFormatter = InspectorTest.scriptFormatter();
19 var linkifier; 28 var linkifier;
20 var link; 29 var link;
21 var script; 30 var script;
22 var uiSourceCode; 31 var uiSourceCode;
23 32
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 82
74 function liveLocationsCount() 83 function liveLocationsCount()
75 { 84 {
76 return script._locations.size(); 85 return script._locations.size();
77 } 86 }
78 } 87 }
79 88
80 </script> 89 </script>
81 </head> 90 </head>
82 91
83 <body onload="runTest()"> 92 <body onload="onload()">
84 <p> 93 <p>
85 Tests that Linkifier works correctly. 94 Tests that Linkifier works correctly.
86 <p> 95 <p>
87 96
88 </body> 97 </body>
89 </html> 98 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698