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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt_automation/uievents/order-of-events/focus-events/focus-manual-automation.js

Issue 2332843002: Test the order of the focus ui-event using automated script. (Closed)
Patch Set: Update a test result 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/uievents/order-of-events/focus-events/focus-manual-automation.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt_automation/uievents/order-of-events/focus-events/focus-manual-automation.js b/third_party/WebKit/LayoutTests/imported/wpt_automation/uievents/order-of-events/focus-events/focus-manual-automation.js
new file mode 100644
index 0000000000000000000000000000000000000000..4daa2e773f7f5f87ad3709b557a8e042fba305c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt_automation/uievents/order-of-events/focus-events/focus-manual-automation.js
@@ -0,0 +1,9 @@
+importAutomationScript('/pointerevents/pointerevent_common_input.js');
+
+function inject_input() {
+ return mouseClickInTarget('#a').then(function() {
+ return mouseClickInTarget('#b');
+ }).then(function() {
+ return mouseClickInTarget('#done');
+ });
+}

Powered by Google App Engine
This is Rietveld 408576698