blob: 4a003e838b843867c1117152fd3ab4bf0fef364c [file] [log] [blame]
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
PASS successfullyParsed is true
TEST COMPLETE
Event on a simple div
---------------------
Initial: 0+0
MouseMove: 1+0
MouseDown: 1+2
MouseUp: 0+1
Wheel: 0+1
TouchStart: 0+1
TouchMove: 0+0
TouchEnd: 0+0
GestureTapDown: 1+1
GestureShowPress: 1+1
GestureTap: 1+3
GestureScrollBegin: 0+1
GestureTapCancel: 0+1
GestureScrollUpdate: 0+0
GestureScrollEnd: 0+0
DoubleFingerTouch: 2+0
Event entirely over one iframe nested in another
---------------------
Initial: 0+0 0+0 0+0
MouseMove: 1+0 1+0 1+0
MouseDown: 1+1 1+1 1+2
MouseUp: 0+1 0+1 0+1
Wheel: 0+1 0+1 0+1
TouchStart: 1+0 1+0 0+1
TouchMove: 0+0 0+0 0+0
TouchEnd: 0+0 0+0 0+0
GestureTapDown: 1+0 1+0 1+1
GestureShowPress: 1+0 1+0 1+1
GestureTap: 1+0 1+0 1+3
GestureScrollBegin: 0+1 0+1 0+1
GestureTapCancel: 1+0 1+0 0+1
GestureScrollUpdate: 0+0 0+0 0+0
GestureScrollEnd: 0+0 0+0 0+0
DoubleFingerTouch: 2+0 2+0 2+0
Event near boundary of two iframes
---------------------
Initial: 0+0 0+0 0+0
MouseMove: 1+0 1+0 0+0
MouseDown: 1+1 1+2 0+0
MouseUp: 0+1 0+1 0+0
Wheel: 0+1 0+1 0+0
TouchStart: 1+0 0+1 0+0
TouchMove: 0+0 0+0 0+0
TouchEnd: 0+0 0+0 0+0
GestureTapDown: 1+0 1+0 1+0
GestureShowPress: 1+0 1+0 1+0
GestureTap: 1+0 1+0 1+0
GestureScrollBegin: 0+1 0+1 0+0
GestureTapCancel: 1+0 0+1 0+0
GestureScrollUpdate: 0+0 0+0 0+0
GestureScrollEnd: 0+0 0+0 0+0
DoubleFingerTouch: 2+0 2+0 1+0
Event on a simple div (desktop viewport)
---------------------
Initial: 0+0
MouseMove: 1+0
MouseDown: 1+2
MouseUp: 0+1
Wheel: 0+1
TouchStart: 0+1
TouchMove: 0+0
TouchEnd: 0+0
GestureTapDown: 1+1
GestureShowPress: 1+1
GestureTap: 1+3 [with multiTargetTapNotification: 2+3]
GestureScrollBegin: 0+1
GestureTapCancel: 0+1
GestureScrollUpdate: 0+0
GestureScrollEnd: 0+0
DoubleFingerTouch: 2+0
PASS successfullyParsed is true
TEST COMPLETE