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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_drag_drop_test-manual.html

Issue 2859483002: Test: Simulate Drag&Drop through gpuBenchmarking.pointerActionSequence() (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_common_input.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_drag_drop_test-manual.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_drag_drop_test-manual.html b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_drag_drop_test-manual.html
new file mode 100644
index 0000000000000000000000000000000000000000..c544a8e434e686122c9e6b7d26c24bee3f6532c2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/pointerevents/pointerevent_drag_drop_test-manual.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<meta charset="utf-8">
+<title>Simulate drag&drop through gpuBenchmarking.pointerActionSequence()</title>
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<p>Steps:<br/>
+1. Select "12345678" in the first box;<br/>
+2. Drag "12345678" to the second box;<br/>
+If a "PASS" result appears the test passes, otherwise it fails.
+</p>
+<input id="input_drag" value="12345678">
+<input id="input_drop">
+<script>
+async_test(t => {
+ const input_drag = document.getElementById('input_drag');
+ const input_drop = document.getElementById('input_drop');
+ input_drop.addEventListener('input', t.step_func(e => {
+ assert_equals(input_drag.value, '');
+ assert_equals(input_drop.value, '12345678');
+ t.done();
+ }));
+});
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/external/wpt_automation/pointerevents/pointerevent_common_input.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698