PointerEvent: Dispatch custom event

Test Description: This test checks if on pointer event handlers through attributes works properly using synthetic pointerevents. For valid results, this test must be run without generating real (trusted) events on the black rectangle below.

The following pointer types were detected: .

Summary

Harness status: OK

Found 30 tests

Details

ResultTest NameMessage
PassThe default value of onpointerdown is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerdown content attribute must be compiled into the onpointerdown property
Asserts run
Pass
assert_equals("function", "function", "The onpointerdown property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerdown", "pointerdown", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerdown event must trigger element.onpointerdown
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointerup is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerup content attribute must be compiled into the onpointerup property
Asserts run
Pass
assert_equals("function", "function", "The onpointerup property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerup", "pointerup", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerup event must trigger element.onpointerup
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointercancel is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointercancel content attribute must be compiled into the onpointercancel property
Asserts run
Pass
assert_equals("function", "function", "The onpointercancel property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointercancel", "pointercancel", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointercancel event must trigger element.onpointercancel
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointermove is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointermove content attribute must be compiled into the onpointermove property
Asserts run
Pass
assert_equals("function", "function", "The onpointermove property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointermove", "pointermove", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointermove event must trigger element.onpointermove
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointerover is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerover content attribute must be compiled into the onpointerover property
Asserts run
Pass
assert_equals("function", "function", "The onpointerover property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerover", "pointerover", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerover event must trigger element.onpointerover
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointerout is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerout content attribute must be compiled into the onpointerout property
Asserts run
Pass
assert_equals("function", "function", "The onpointerout property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerout", "pointerout", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerout event must trigger element.onpointerout
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointerenter is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerenter content attribute must be compiled into the onpointerenter property
Asserts run
Pass
assert_equals("function", "function", "The onpointerenter property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerenter", "pointerenter", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerenter event must trigger element.onpointerenter
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onpointerleave is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onpointerleave content attribute must be compiled into the onpointerleave property
Asserts run
Pass
assert_equals("function", "function", "The onpointerleave property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("pointerleave", "pointerleave", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a pointerleave event must trigger element.onpointerleave
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of ongotpointercapture is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe ongotpointercapture content attribute must be compiled into the ongotpointercapture property
Asserts run
Pass
assert_equals("function", "function", "The ongotpointercapture property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("gotpointercapture", "gotpointercapture", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a gotpointercapture event must trigger element.ongotpointercapture
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)
PassThe default value of onlostpointercapture is always null
Asserts run
Pass
assert_equals(null, null, "The default value of the property is null for a Window instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLSpanElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a SVGGElement instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
Pass
assert_equals(null, null, "The default value of the property is null for a HTMLDocument instance")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:37:17)
PassThe onlostpointercapture content attribute must be compiled into the onlostpointercapture property
Asserts run
Pass
assert_equals("function", "function", "The onlostpointercapture property must be a function")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:46:15)
Pass
assert_equals("lostpointercapture", "lostpointercapture", "Calling the handler must run the code")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:48:15)
Passdispatching a lostpointercapture event must trigger element.onlostpointercapture
Asserts run
Pass
assert_equals(Element node <meta></meta>, Element node <meta></meta>, "The event must be fired at the <meta> element")
    at Test.<anonymous> ( /pointerevents/pointerevent_on_event_handlers.html:55:17)