| Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/event-listener-breakpoints.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/event-listener-breakpoints.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/event-listener-breakpoints.html
|
| index 68727f752c8da8d74210db6e6449f8de50af9e56..7e4bc6150abee87762dc9f25cca4c7bda6f9dff7 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/event-listener-breakpoints.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/event-listener-breakpoints.html
|
| @@ -16,6 +16,13 @@ function addListenerAndClick()
|
| element.click();
|
| }
|
|
|
| +function addListenerAndAuxclick()
|
| +{
|
| + var element = document.getElementById("test");
|
| + element.addEventListener("auxclick", testElementEventListener, true);
|
| + element.dispatchEvent(new MouseEvent("auxclick", {button: 1}));
|
| +}
|
| +
|
| function addListenerAndPointerDown()
|
| {
|
| var element = document.getElementById("test");
|
| @@ -87,6 +94,26 @@ function test()
|
| }
|
| },
|
|
|
| + function testAuxclickBreakpoint(next)
|
| + {
|
| + pane._setBreakpoint("listener:auxclick");
|
| + InspectorTest.waitUntilPaused(paused);
|
| + InspectorTest.evaluateInPageWithTimeout("addListenerAndAuxclick()");
|
| +
|
| + function paused(callFrames, reason, breakpointIds, asyncStackTrace, auxData)
|
| + {
|
| + InspectorTest.captureStackTrace(callFrames);
|
| + printEventTargetName(auxData);
|
| + pane._removeBreakpoint("listener:auxclick");
|
| + InspectorTest.resumeExecution(resumed);
|
| + }
|
| +
|
| + function resumed()
|
| + {
|
| + InspectorTest.evaluateInPage("addListenerAndAuxclick()", next);
|
| + }
|
| + },
|
| +
|
| function testTimerFiredBreakpoint(next)
|
| {
|
| pane._setBreakpoint("instrumentation:timerFired");
|
|
|