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

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

Issue 299443016: DevTools: Decouple debugger model from UI entities (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Merge DebuggerScriptMapping into DebuggerWorkspaceBinding Created 6 years, 4 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 {
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 linkifier.reset(); 75 linkifier.reset();
76 var count2 = liveLocationsCount(); 76 var count2 = liveLocationsCount();
77 77
78 InspectorTest.addResult("listeners removed from raw source code: " + (co unt1 - count2)); 78 InspectorTest.addResult("listeners removed from raw source code: " + (co unt1 - count2));
79 79
80 InspectorTest.completeDebuggerTest(); 80 InspectorTest.completeDebuggerTest();
81 } 81 }
82 82
83 function liveLocationsCount() 83 function liveLocationsCount()
84 { 84 {
85 return script._locations.size(); 85 return WebInspector.debuggerWorkspaceBinding._ensureInfoForScript(script )._locations.size();
86 } 86 }
87 } 87 }
88 88
89 </script> 89 </script>
90 </head> 90 </head>
91 91
92 <body onload="onload()"> 92 <body onload="onload()">
93 <p> 93 <p>
94 Tests that Linkifier works correctly. 94 Tests that Linkifier works correctly.
95 <p> 95 <p>
96 96
97 </body> 97 </body>
98 </html> 98 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698