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

Unified Diff: LayoutTests/fast/events/hit-test-counts-expected.txt

Issue 354613002: Add test to track the number of hit tests on various events (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Apply CR feedback Created 6 years, 6 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 | « LayoutTests/fast/events/hit-test-counts.html ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/hit-test-counts-expected.txt
diff --git a/LayoutTests/fast/events/hit-test-counts-expected.txt b/LayoutTests/fast/events/hit-test-counts-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f7d0d73676701f5b2f1a3215fbb667c527f320fb
--- /dev/null
+++ b/LayoutTests/fast/events/hit-test-counts-expected.txt
@@ -0,0 +1,63 @@
+Count how many hit tests are required for various event scenarios. Hit tests can be expensive and it's often tempting to add more. These values should only ever be changed to go down, not up.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+Event on a simple div
+---------------------
+Initial: 0
+MouseMove: 1
+MouseDown: 3
+MouseUp: 1
+Wheel: 1
+TouchStart: 1
+TouchMove: 0
+TouchEnd: 0
+GestureTapDown: 3
+GestureShowPress: 5
+GestureTap: 7
+GestureScrollBegin: 2
+GestureTapCancel: 2
+GestureScrollUpdate: 0
+GestureScrollEnd: 0
+
+Event entirely over one iframe nested in another
+---------------------
+Initial: 0 0 0
+MouseMove: 1 1 1
+MouseDown: 2 2 3
+MouseUp: 1 1 1
+Wheel: 1 1 1
+TouchStart: 1 1 1
+TouchMove: 0 0 0
+TouchEnd: 0 0 0
+GestureTapDown: 5 5 5
+GestureShowPress: 7 7 7
+GestureTap: 3 3 7
+GestureScrollBegin: 4 4 4
+GestureTapCancel: 2 2 2
+GestureScrollUpdate: 0 0 0
+GestureScrollEnd: 0 0 0
+
+Event near boundary of two iframes
+---------------------
+Initial: 0 0 0
+MouseMove: 1 1 1
+MouseDown: 2 3 0
+MouseUp: 1 1 0
+Wheel: 1 1 0
+TouchStart: 1 1 0
+TouchMove: 0 0 0
+TouchEnd: 0 0 0
+GestureTapDown: 5 14 50
+GestureShowPress: 7 19 67
+GestureTap: 3 7 0
+GestureScrollBegin: 3 3 0
+GestureTapCancel: 2 2 0
+GestureScrollUpdate: 0 0 0
+GestureScrollEnd: 0 0 0
+
+
« no previous file with comments | « LayoutTests/fast/events/hit-test-counts.html ('k') | Source/core/rendering/RenderView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698