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

Side by Side Diff: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt

Issue 1809603003: Separate mouse transition events from pointerevent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
2 CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
3 CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
4 CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
1 Verifies that pointer event parameters are correct when fired for mouse events. 5 Verifies that pointer event parameters are correct when fired for mouse events.
2 6
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 7 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 8
5 9
6 --- move mouse into target --- 10 --- move mouse into target ---
11 Received mouseover
12 FAIL lastPointerEvent should be non-null. Was null
13 FAIL lastPointerEvent.type should be pointerover. Threw exception TypeError: Can not read property 'type' of null
14 Received mouseenter
15 FAIL lastPointerEvent should be non-null. Was null
16 FAIL lastPointerEvent.type should be pointerenter. Threw exception TypeError: Ca nnot read property 'type' of null
7 Received pointerover 17 Received pointerover
8 Received mouseover
9 PASS lastPointerEvent is non-null.
10 PASS lastPointerEvent.type is "pointerover"
11 PASS lastPointerEvent.bubbles is true
12 PASS lastPointerEvent.cancelable is true
13 PASS lastPointerEvent.pointerId is 1
14 PASS lastPointerEvent.pointerType is "mouse"
15 PASS lastPointerEvent.isPrimary is true
16 PASS lastPointerEvent.clientX is 23
17 PASS lastPointerEvent.clientY is 31
18 PASS lastPointerEvent.layerX is 23
19 PASS lastPointerEvent.layerY is 31
20 PASS lastPointerEvent.movementX is 0
21 PASS lastPointerEvent.movementY is 0
22 PASS lastPointerEvent.offsetX is 5
23 PASS lastPointerEvent.offsetY is 5
24 PASS lastPointerEvent.pageX is 23
25 PASS lastPointerEvent.pageY is 31
26 PASS lastPointerEvent.screenX is 23
27 PASS lastPointerEvent.screenY is 31
28 PASS lastPointerEvent.x is 23
29 PASS lastPointerEvent.y is 31
30 PASS lastPointerEvent.button is -1
31 PASS lastPointerEvent.buttons is 0
32 PASS lastPointerEvent.pressure is 0
33 Received pointerenter 18 Received pointerenter
34 Received mouseenter
35 PASS lastPointerEvent is non-null.
36 PASS lastPointerEvent.type is "pointerenter"
37 PASS lastPointerEvent.bubbles is false
38 PASS lastPointerEvent.cancelable is false
39 PASS lastPointerEvent.pointerId is 1
40 PASS lastPointerEvent.pointerType is "mouse"
41 PASS lastPointerEvent.isPrimary is true
42 PASS lastPointerEvent.clientX is 23
43 PASS lastPointerEvent.clientY is 31
44 PASS lastPointerEvent.layerX is 23
45 PASS lastPointerEvent.layerY is 31
46 PASS lastPointerEvent.movementX is 0
47 PASS lastPointerEvent.movementY is 0
48 PASS lastPointerEvent.offsetX is 5
49 PASS lastPointerEvent.offsetY is 5
50 PASS lastPointerEvent.pageX is 23
51 PASS lastPointerEvent.pageY is 31
52 PASS lastPointerEvent.screenX is 23
53 PASS lastPointerEvent.screenY is 31
54 PASS lastPointerEvent.x is 23
55 PASS lastPointerEvent.y is 31
56 PASS lastPointerEvent.button is -1
57 PASS lastPointerEvent.buttons is 0
58 PASS lastPointerEvent.pressure is 0
59 Received pointermove 19 Received pointermove
60 Received mousemove 20 Received mousemove
61 PASS lastPointerEvent is non-null. 21 PASS lastPointerEvent is non-null.
62 PASS lastPointerEvent.type is "pointermove" 22 PASS lastPointerEvent.type is "pointermove"
63 PASS lastPointerEvent.bubbles is true 23 PASS lastPointerEvent.bubbles is true
64 PASS lastPointerEvent.cancelable is true 24 PASS lastPointerEvent.cancelable is true
65 PASS lastPointerEvent.pointerId is 1 25 PASS lastPointerEvent.pointerId is 1
66 PASS lastPointerEvent.pointerType is "mouse" 26 PASS lastPointerEvent.pointerType is "mouse"
67 PASS lastPointerEvent.isPrimary is true 27 PASS lastPointerEvent.isPrimary is true
68 PASS lastPointerEvent.clientX is 23 28 PASS lastPointerEvent.clientX is 23
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
621 PASS lastPointerEvent.getModifierState('Alt'); is false 581 PASS lastPointerEvent.getModifierState('Alt'); is false
622 PASS lastPointerEvent.getModifierState('AltGraph'); is false 582 PASS lastPointerEvent.getModifierState('AltGraph'); is false
623 PASS lastPointerEvent.getModifierState('OS'); is false 583 PASS lastPointerEvent.getModifierState('OS'); is false
624 PASS lastPointerEvent.getModifierState('Fn'); is false 584 PASS lastPointerEvent.getModifierState('Fn'); is false
625 PASS lastPointerEvent.getModifierState('CapsLock'); is false 585 PASS lastPointerEvent.getModifierState('CapsLock'); is false
626 PASS lastPointerEvent.getModifierState('ScrollLock'); is false 586 PASS lastPointerEvent.getModifierState('ScrollLock'); is false
627 PASS lastPointerEvent.getModifierState('NumLock'); is false 587 PASS lastPointerEvent.getModifierState('NumLock'); is false
628 PASS lastPointerEvent.getModifierState('Symbol'); is true 588 PASS lastPointerEvent.getModifierState('Symbol'); is true
629 589
630 --- move mouse out of target --- 590 --- move mouse out of target ---
591 Received mouseout
592 FAIL lastPointerEvent should be non-null. Was null
593 FAIL lastPointerEvent.type should be pointerout. Threw exception TypeError: Cann ot read property 'type' of null
594 Received mouseleave
595 FAIL lastPointerEvent should be non-null. Was null
596 FAIL lastPointerEvent.type should be pointerleave. Threw exception TypeError: Ca nnot read property 'type' of null
631 Received pointerout 597 Received pointerout
632 Received mouseout
633 PASS lastPointerEvent is non-null.
634 PASS lastPointerEvent.type is "pointerout"
635 PASS lastPointerEvent.bubbles is true
636 PASS lastPointerEvent.cancelable is true
637 PASS lastPointerEvent.pointerId is 1
638 PASS lastPointerEvent.pointerType is "mouse"
639 PASS lastPointerEvent.isPrimary is true
640 PASS lastPointerEvent.clientX is 13
641 PASS lastPointerEvent.clientY is 21
642 PASS lastPointerEvent.layerX is 13
643 PASS lastPointerEvent.layerY is 21
644 PASS lastPointerEvent.movementX is 0
645 PASS lastPointerEvent.movementY is 0
646 PASS lastPointerEvent.offsetX is -5
647 PASS lastPointerEvent.offsetY is -5
648 PASS lastPointerEvent.pageX is 13
649 PASS lastPointerEvent.pageY is 21
650 PASS lastPointerEvent.screenX is 13
651 PASS lastPointerEvent.screenY is 21
652 PASS lastPointerEvent.x is 13
653 PASS lastPointerEvent.y is 21
654 PASS lastPointerEvent.button is -1
655 PASS lastPointerEvent.buttons is 0
656 PASS lastPointerEvent.pressure is 0
657 Received pointerleave 598 Received pointerleave
658 Received mouseleave 599 FAIL successfullyParsed should be true. Was false.
659 PASS lastPointerEvent is non-null.
660 PASS lastPointerEvent.type is "pointerleave"
661 PASS lastPointerEvent.bubbles is false
662 PASS lastPointerEvent.cancelable is false
663 PASS lastPointerEvent.pointerId is 1
664 PASS lastPointerEvent.pointerType is "mouse"
665 PASS lastPointerEvent.isPrimary is true
666 PASS lastPointerEvent.clientX is 13
667 PASS lastPointerEvent.clientY is 21
668 PASS lastPointerEvent.layerX is 13
669 PASS lastPointerEvent.layerY is 21
670 PASS lastPointerEvent.movementX is 0
671 PASS lastPointerEvent.movementY is 0
672 PASS lastPointerEvent.offsetX is -5
673 PASS lastPointerEvent.offsetY is -5
674 PASS lastPointerEvent.pageX is 13
675 PASS lastPointerEvent.pageY is 21
676 PASS lastPointerEvent.screenX is 13
677 PASS lastPointerEvent.screenY is 21
678 PASS lastPointerEvent.x is 13
679 PASS lastPointerEvent.y is 21
680 PASS lastPointerEvent.button is -1
681 PASS lastPointerEvent.buttons is 0
682 PASS lastPointerEvent.pressure is 0
683 PASS successfullyParsed is true
684 600
685 TEST COMPLETE 601 TEST COMPLETE
686 602
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698