| Index: LayoutTests/inspector/sources/debugger/breakpoint-manager-listeners-count.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/breakpoint-manager-listeners-count.html b/LayoutTests/inspector/sources/debugger/breakpoint-manager-listeners-count.html
|
| deleted file mode 100644
|
| index 0064f214345482f7fcddb52cdaedb4b5121bb6f5..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/breakpoint-manager-listeners-count.html
|
| +++ /dev/null
|
| @@ -1,57 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script src="resources/script1.js"></script>
|
| -<script src="resources/script2.js"></script>
|
| -<script>
|
| -function test()
|
| -{
|
| - InspectorTest.runDebuggerTestSuite([
|
| - function testSourceFramesCount(next)
|
| - {
|
| - var panel = WebInspector.panels.sources;
|
| - var sourceFrameCount = 0;
|
| -
|
| - InspectorTest.showScriptSource("script1.js", didShowScriptSources);
|
| -
|
| - function didShowScriptSources()
|
| - {
|
| - InspectorTest.reloadPage(didReload);
|
| - }
|
| -
|
| - function didReload()
|
| - {
|
| - InspectorTest.showScriptSource("script2.js", didShowScriptSourceAgain);
|
| - }
|
| -
|
| - function didShowScriptSourceAgain()
|
| - {
|
| - var listeners = WebInspector.breakpointManager._listeners.get("breakpoint-added");
|
| - // There should be 3 breakpoint-added event listeners:
|
| - // - BreakpointsSidebarPane
|
| - // - 2 shown tabs
|
| - InspectorTest.addResult("Number of breakpoint-added event listeners is " + listeners.length);
|
| -
|
| - function dumpListener(listener)
|
| - {
|
| - if (!(listener.thisObject instanceof WebInspector.SourceFrame))
|
| - return;
|
| - var sourceFrame = listener.thisObject;
|
| - InspectorTest.addResult(" " + sourceFrame._uiSourceCode.name());
|
| - }
|
| -
|
| - InspectorTest.addResult("Dumping SourceFrames listening for breakpoint-added event:");
|
| - listeners.map(dumpListener);
|
| -
|
| - next();
|
| - }
|
| - }
|
| - ]);
|
| -};
|
| -</script>
|
| -</head>
|
| -<body onload="runTest()">
|
| -<p>Tests that scripts panel does not create too many source frames.</p>
|
| -</body>
|
| -</html>
|
|
|