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

Unified Diff: third_party/WebKit/LayoutTests/fast/loader/repeat-same-document-navigation.html

Issue 2011653003: Only allow link clicks on single click. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test and adjust comment Created 4 years, 7 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/loader/repeat-same-document-navigation.html
diff --git a/third_party/WebKit/LayoutTests/fast/loader/repeat-same-document-navigation.html b/third_party/WebKit/LayoutTests/fast/loader/repeat-same-document-navigation.html
index 8e66fe0f576d012c4a12631220614bd36b1893a6..709767e9c87e77a891ca59dea7d3108113259ed0 100644
--- a/third_party/WebKit/LayoutTests/fast/loader/repeat-same-document-navigation.html
+++ b/third_party/WebKit/LayoutTests/fast/loader/repeat-same-document-navigation.html
@@ -8,9 +8,7 @@ if (window.testRunner) {
function clickLink() {
var link = document.getElementById("anchorLink");
- eventSender.mouseMoveTo(link.offsetLeft + 2, link.offsetTop + 2);
- eventSender.mouseDown();
- eventSender.mouseUp();
esprehn 2016/05/26 05:40:09 why did you change this? ::click() is different th
+ link.click();
}
function run() {

Powered by Google App Engine
This is Rietveld 408576698