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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
diff --git a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
index 3ed7dd362e1e8335d574223fc0134210e8118af2..1547716fbcf697bf0712b0c7ec3e3b75b7fd3c20 100644
--- a/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
+++ b/third_party/WebKit/LayoutTests/virtual/pointerevent/fast/events/pointerevents/mouse-pointer-event-properties-expected.txt
@@ -1,61 +1,21 @@
+CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
+CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
+CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
+CONSOLE ERROR: line 63: Uncaught TypeError: Cannot read property 'type' of null
Verifies that pointer event parameters are correct when fired for mouse events.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
--- move mouse into target ---
-Received pointerover
Received mouseover
-PASS lastPointerEvent is non-null.
-PASS lastPointerEvent.type is "pointerover"
-PASS lastPointerEvent.bubbles is true
-PASS lastPointerEvent.cancelable is true
-PASS lastPointerEvent.pointerId is 1
-PASS lastPointerEvent.pointerType is "mouse"
-PASS lastPointerEvent.isPrimary is true
-PASS lastPointerEvent.clientX is 23
-PASS lastPointerEvent.clientY is 31
-PASS lastPointerEvent.layerX is 23
-PASS lastPointerEvent.layerY is 31
-PASS lastPointerEvent.movementX is 0
-PASS lastPointerEvent.movementY is 0
-PASS lastPointerEvent.offsetX is 5
-PASS lastPointerEvent.offsetY is 5
-PASS lastPointerEvent.pageX is 23
-PASS lastPointerEvent.pageY is 31
-PASS lastPointerEvent.screenX is 23
-PASS lastPointerEvent.screenY is 31
-PASS lastPointerEvent.x is 23
-PASS lastPointerEvent.y is 31
-PASS lastPointerEvent.button is -1
-PASS lastPointerEvent.buttons is 0
-PASS lastPointerEvent.pressure is 0
-Received pointerenter
+FAIL lastPointerEvent should be non-null. Was null
+FAIL lastPointerEvent.type should be pointerover. Threw exception TypeError: Cannot read property 'type' of null
Received mouseenter
-PASS lastPointerEvent is non-null.
-PASS lastPointerEvent.type is "pointerenter"
-PASS lastPointerEvent.bubbles is false
-PASS lastPointerEvent.cancelable is false
-PASS lastPointerEvent.pointerId is 1
-PASS lastPointerEvent.pointerType is "mouse"
-PASS lastPointerEvent.isPrimary is true
-PASS lastPointerEvent.clientX is 23
-PASS lastPointerEvent.clientY is 31
-PASS lastPointerEvent.layerX is 23
-PASS lastPointerEvent.layerY is 31
-PASS lastPointerEvent.movementX is 0
-PASS lastPointerEvent.movementY is 0
-PASS lastPointerEvent.offsetX is 5
-PASS lastPointerEvent.offsetY is 5
-PASS lastPointerEvent.pageX is 23
-PASS lastPointerEvent.pageY is 31
-PASS lastPointerEvent.screenX is 23
-PASS lastPointerEvent.screenY is 31
-PASS lastPointerEvent.x is 23
-PASS lastPointerEvent.y is 31
-PASS lastPointerEvent.button is -1
-PASS lastPointerEvent.buttons is 0
-PASS lastPointerEvent.pressure is 0
+FAIL lastPointerEvent should be non-null. Was null
+FAIL lastPointerEvent.type should be pointerenter. Threw exception TypeError: Cannot read property 'type' of null
+Received pointerover
+Received pointerenter
Received pointermove
Received mousemove
PASS lastPointerEvent is non-null.
@@ -628,59 +588,15 @@ PASS lastPointerEvent.getModifierState('NumLock'); is false
PASS lastPointerEvent.getModifierState('Symbol'); is true
--- move mouse out of target ---
-Received pointerout
Received mouseout
-PASS lastPointerEvent is non-null.
-PASS lastPointerEvent.type is "pointerout"
-PASS lastPointerEvent.bubbles is true
-PASS lastPointerEvent.cancelable is true
-PASS lastPointerEvent.pointerId is 1
-PASS lastPointerEvent.pointerType is "mouse"
-PASS lastPointerEvent.isPrimary is true
-PASS lastPointerEvent.clientX is 13
-PASS lastPointerEvent.clientY is 21
-PASS lastPointerEvent.layerX is 13
-PASS lastPointerEvent.layerY is 21
-PASS lastPointerEvent.movementX is 0
-PASS lastPointerEvent.movementY is 0
-PASS lastPointerEvent.offsetX is -5
-PASS lastPointerEvent.offsetY is -5
-PASS lastPointerEvent.pageX is 13
-PASS lastPointerEvent.pageY is 21
-PASS lastPointerEvent.screenX is 13
-PASS lastPointerEvent.screenY is 21
-PASS lastPointerEvent.x is 13
-PASS lastPointerEvent.y is 21
-PASS lastPointerEvent.button is -1
-PASS lastPointerEvent.buttons is 0
-PASS lastPointerEvent.pressure is 0
-Received pointerleave
+FAIL lastPointerEvent should be non-null. Was null
+FAIL lastPointerEvent.type should be pointerout. Threw exception TypeError: Cannot read property 'type' of null
Received mouseleave
-PASS lastPointerEvent is non-null.
-PASS lastPointerEvent.type is "pointerleave"
-PASS lastPointerEvent.bubbles is false
-PASS lastPointerEvent.cancelable is false
-PASS lastPointerEvent.pointerId is 1
-PASS lastPointerEvent.pointerType is "mouse"
-PASS lastPointerEvent.isPrimary is true
-PASS lastPointerEvent.clientX is 13
-PASS lastPointerEvent.clientY is 21
-PASS lastPointerEvent.layerX is 13
-PASS lastPointerEvent.layerY is 21
-PASS lastPointerEvent.movementX is 0
-PASS lastPointerEvent.movementY is 0
-PASS lastPointerEvent.offsetX is -5
-PASS lastPointerEvent.offsetY is -5
-PASS lastPointerEvent.pageX is 13
-PASS lastPointerEvent.pageY is 21
-PASS lastPointerEvent.screenX is 13
-PASS lastPointerEvent.screenY is 21
-PASS lastPointerEvent.x is 13
-PASS lastPointerEvent.y is 21
-PASS lastPointerEvent.button is -1
-PASS lastPointerEvent.buttons is 0
-PASS lastPointerEvent.pressure is 0
-PASS successfullyParsed is true
+FAIL lastPointerEvent should be non-null. Was null
+FAIL lastPointerEvent.type should be pointerleave. Threw exception TypeError: Cannot read property 'type' of null
+Received pointerout
+Received pointerleave
+FAIL successfullyParsed should be true. Was false.
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698