| Index: LayoutTests/inspector/sources/debugger/event-listener-breakpoints-xhr.html
|
| diff --git a/LayoutTests/inspector/sources/debugger/event-listener-breakpoints-xhr.html b/LayoutTests/inspector/sources/debugger/event-listener-breakpoints-xhr.html
|
| index d46bb3f7bf06dba34ffea56c73297d55f35f1458..534697cbdea59e057545b01cbba880bb64b729b8 100644
|
| --- a/LayoutTests/inspector/sources/debugger/event-listener-breakpoints-xhr.html
|
| +++ b/LayoutTests/inspector/sources/debugger/event-listener-breakpoints-xhr.html
|
| @@ -81,9 +81,19 @@ function test()
|
| InspectorTest.addResult("Captured call stacks in no particular order:");
|
| callStacksOutput.sort();
|
| InspectorTest.addResults(callStacksOutput);
|
| - InspectorTest.completeDebuggerTest();
|
| + completeTest();
|
| }
|
| }
|
| +
|
| + function completeTest()
|
| + {
|
| + pane._removeBreakpoint("listener:load");
|
| + pane._removeBreakpoint("listener:error");
|
| + pane._removeBreakpoint("listener:loadend", xhrTargetNames);
|
| + pane._removeBreakpoint("listener:progress", xhrTargetNames);
|
| + pane._removeBreakpoint("listener:readystatechange", xhrTargetNames);
|
| + InspectorTest.runAfterPendingDispatches(InspectorTest.completeDebuggerTest.bind(InspectorTest));
|
| + }
|
| }
|
|
|
| </script>
|
|
|