Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html

Issue 2249663002: Fixed & refactored mouse event firing at gesture context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed tests, removed one overfitting Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html b/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html
index 0d641f2a9c6e2f3a42a1dba0325ca0338981e3fc..5fbaffc0d2f311d6fb721cc649ad5ce10438296e 100644
--- a/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html
+++ b/third_party/WebKit/LayoutTests/fast/events/pointerevents/touch-pointer-long-press.html
@@ -28,7 +28,7 @@ function testReceivedEvents(expectedEvents, testLabel) {
function init() {
var targetDiv = document.getElementById("target");
- targetEvents = ["mousedown", "mouseup", "mousemove", "contextmenu",
+ var targetEvents = ["mousedown", "mouseup", "mousemove", "contextmenu",
"mouseenter", "mouseleave", "mouseover", "mouseout",
"pointerdown", "pointerup", "pointermove", "pointercancel",
"pointerenter", "pointerleave", "pointerover", "pointerout"];
@@ -44,7 +44,7 @@ function runTests() {
var rect = document.getElementById("target").getBoundingClientRect();
eventSender.gestureLongPress(rect.left + 5, rect.top + 5);
testReceivedEvents([
- "mouseover", "mouseenter", "mousemove", "mousedown", "contextmenu"
+ "mouseover", "mouseenter", "mousemove", "contextmenu"
], "Long press events");
}

Powered by Google App Engine
This is Rietveld 408576698