Index: third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js |
diff --git a/third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js b/third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js |
index b91ad8acf1406d8075eba737c008a34436de8efe..32251a81e4d445d486a62bf8a2bbfea1ca175fad 100644 |
--- a/third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js |
+++ b/third_party/WebKit/LayoutTests/fast/events/script-tests/mouse-click-events.js |
@@ -19,6 +19,7 @@ function clearEventLog() { |
eventLog = ""; |
} |
+div.addEventListener("auxclick", appendEventLog, false); |
div.addEventListener("click", appendEventLog, false); |
div.addEventListener("dblclick", appendEventLog, false); |
div.addEventListener("mousedown", appendEventLog, false); |
@@ -49,6 +50,6 @@ function testEvents(description, button, expectedString) { |
if (window.eventSender) { |
testEvents("Left Mouse Button", 0, "mousedown(0) mouseup(0) click(0) mousedown(0) mouseup(0) click(0) dblclick(0) "); |
- testEvents("Middle Mouse Button", 1, "mousedown(1) mouseup(1) click(1) mousedown(1) mouseup(1) click(1) dblclick(1) "); |
- testEvents("Right Mouse Button", 2, "mousedown(2) mouseup(2) mousedown(2) mouseup(2) "); |
+ testEvents("Middle Mouse Button", 1, "mousedown(1) mouseup(1) auxclick(1) mousedown(1) mouseup(1) auxclick(1) "); |
+ testEvents("Right Mouse Button", 2, "mousedown(2) mouseup(2) auxclick(2) mousedown(2) mouseup(2) auxclick(2) "); |
} |