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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js

Issue 2306103003: Use querySelector instead of getElementById (Closed)
Patch Set: Created 4 years, 3 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/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
index 2cccec5d14766d417b0d5ee135a75ccebdab63f8..efdfa88eaf8ac1fb034cf8ce0a65094cf81289ad 100644
--- a/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/pointerevents/pointerevent_capture_mouse-manual-automation.js
@@ -1,12 +1,12 @@
importAutomationScript('/pointerevents/pointerevent_common_input.js');
function inject_input() {
- return mouseMoveIntoTarget('target0').then(function() {
- return mouseMoveIntoTarget('target1');
+ return mouseMoveIntoTarget('#target0').then(function() {
+ return mouseMoveIntoTarget('#target1');
}).then(function() {
- return mouseDragInTargets(['btnCapture', 'target1', 'target0']);
+ return mouseDragInTargets(['#btnCapture', '#target1', '#target0']);
}).then(function() {
// To handle delayed capturing.
- return mouseMoveIntoTarget('target0');
+ return mouseMoveIntoTarget('#target0');
});
}

Powered by Google App Engine
This is Rietveld 408576698