[webkit-reviews] review requested: [Bug 28153] can't middle-button paste within a single window : [Attachment 43582] Patch proposed with test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Nov 20 08:43:40 PST 2009


Alejandro G. Castro <alex at igalia.com> has asked  for review:
Bug 28153: can't middle-button paste within a single window
https://bugs.webkit.org/show_bug.cgi?id=28153

Attachment 43582: Patch proposed with test
https://bugs.webkit.org/attachment.cgi?id=43582&action=review

------- Additional Comments from Alejandro G. Castro <alex at igalia.com>
This patch includes the test for the solution proposed, but it will not work
until we solve the bug 31711. Until that moment the test requires this patch to
work properly, check the other bug for more information about the issue:

index 8783973..2ff65cb 100644
--- a/LayoutTests/platform/gtk/editing/pasteboard/middle-button-paste.html
+++ b/LayoutTests/platform/gtk/editing/pasteboard/middle-button-paste.html
@@ -20,8 +20,8 @@ function runTest()
     var y = target.offsetParent.offsetTop + target.offsetTop +
	 target.offsetHeight / 2;

-    eventSender.mouseMoveTo(x, y);
     eventSender.mouseDown();
+    eventSender.mouseMoveTo(x, y);
     eventSender.mouseMoveTo(x + 50, y);
     eventSender.mouseUp();
     eventSender.mouseMoveTo(x + 100, y);


More information about the webkit-reviews mailing list