OLD | NEW |
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 Loading... |
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> |
OLD | NEW |