| Index: LayoutTests/inspector/sources/debugger/debugger-step-out-event-listener.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/debugger-step-out-event-listener.html b/LayoutTests/inspector/sources/debugger/debugger-step-out-event-listener.html
|
| deleted file mode 100644
|
| index 9fcafe3e6e1e8a08dde7d4a2724d5ae4d6fc4fdf..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/inspector/sources/debugger/debugger-step-out-event-listener.html
|
| +++ /dev/null
|
| @@ -1,89 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<script src="../../../http/tests/inspector/inspector-test.js"></script>
|
| -<script src="../../../http/tests/inspector/debugger-test.js"></script>
|
| -<script>
|
| -
|
| -function testFunction()
|
| -{
|
| - function inner()
|
| - {
|
| - var div = document.getElementById("myDiv");
|
| - function fooEventHandler1()
|
| - {
|
| - div.textContent += "Recieved foo event(1)!\n";
|
| - }
|
| -
|
| - function fooEventHandler2()
|
| - {
|
| - div.textContent += "Recieved foo event(2)!\n";
|
| - }
|
| -
|
| - div.addEventListener("foo", fooEventHandler1);
|
| - div.addEventListener("foo", fooEventHandler2);
|
| -
|
| - var e = new CustomEvent("foo");
|
| - debugger;
|
| - div.dispatchEvent(e);
|
| -
|
| - div.removeEventListener("foo", fooEventHandler1);
|
| - div.removeEventListener("foo", fooEventHandler2);
|
| - }
|
| - inner();
|
| -}
|
| -
|
| -var test = function()
|
| -{
|
| - InspectorTest.startDebuggerTest(step1, true);
|
| -
|
| - function step1()
|
| - {
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
|
| - }
|
| -
|
| - function step2()
|
| - {
|
| - var actions = [
|
| - "Print", // debugger;
|
| - "StepInto", "StepInto", "StepInto", "Print", // at fooEventHandler1
|
| - "StepOut", "Print", // should be at fooEventHandler2
|
| - "StepOut", "Print",
|
| - ];
|
| - InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step3);
|
| - }
|
| -
|
| - function step3()
|
| - {
|
| - InspectorTest.resumeExecution(step4);
|
| - }
|
| -
|
| - function step4()
|
| - {
|
| - InspectorTest.runTestFunctionAndWaitUntilPaused(step5);
|
| - }
|
| -
|
| - function step5()
|
| - {
|
| - var actions = [
|
| - "Print", // debugger;
|
| - "StepOut", "Print", // should be at inner()
|
| - ];
|
| - InspectorTest.waitUntilPausedAndPerformSteppingActions(actions, step6);
|
| - }
|
| -
|
| - function step6()
|
| - {
|
| - InspectorTest.completeDebuggerTest();
|
| - }
|
| -}
|
| -
|
| -</script>
|
| -</head>
|
| -
|
| -<body onload="runTest()">
|
| -<p>
|
| -Tests that stepping out of an event listener will lead to a pause in the next event listener.
|
| -</p>
|
| -<div id="myDiv"></div>
|
| -</body>
|
| -</html>
|
|
|