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

Unified Diff: LayoutTests/fast/events/touch/gesture/gesture-tap-result-expected.txt

Issue 267313008: First-cut at fixing unhandled Tap event returns in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Simplified the layout test's termination logic. Created 6 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: LayoutTests/fast/events/touch/gesture/gesture-tap-result-expected.txt
diff --git a/LayoutTests/fast/events/touch/gesture/gesture-tap-result-expected.txt b/LayoutTests/fast/events/touch/gesture/gesture-tap-result-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..80fd9a3ad6a3e1a9b761362d4b3e39c9a1be4829
--- /dev/null
+++ b/LayoutTests/fast/events/touch/gesture/gesture-tap-result-expected.txt
@@ -0,0 +1,18 @@
+
+This is plain text with no handler
+This text consumes events using preventDefault()
+
+Clicking or tapping on the "consumes" section should have no effect on the selection, but clicking in the plain section should clear it.
+This tests Tap events being consumed by a handler.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS consumesResult is true
+PASS window.getSelection().toString() is not
+PASS plainResult is false
+PASS window.getSelection().toString() is ""
+

Powered by Google App Engine
This is Rietveld 408576698