Home
last modified time | relevance | path

Searched refs:handleEvent (Results 1 - 9 of 9) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-whatwg-events-eventtarget-this-of-listener.js54 handler.handleEvent = function() {
63 }, 'addEventListener should not require handleEvent to be defined on object listeners');
81 handler.handleEvent = () => {
82 assert_unreached('should not call the handleEvent method on a function');
91 }, 'handleEvent properties added to a function before addEventListener are not reached');
111 handler.handleEvent = () => {
112 assert_unreached('should not call the handleEvent method on a function');
119 }, 'handleEvent properties added to a function after addEventListener are not reached');
H A Dtest-nodeeventtarget.js27 handleEvent: common.mustCall(function(event) {
55 handleEvent: common.mustCall((event) => {
82 handleEvent: common.mustCall((event) => {
108 const ev2 = { handleEvent() {} };
H A Dtest-eventtarget.js141 handleEvent: common.mustCall(function(event) {
238 // AddEventListener should not require handleEvent to be
241 listener.handleEvent = common.mustCall(function(event) {
255 listener.handleEvent = common.mustNotCall();
275 const ev3 = { handleEvent() { throw new Error('boom'); } };
276 const ev4 = { async handleEvent() { throw new Error('boom'); } };
H A Dtest-events-customevent.js226 handleEvent: common.mustCall(function(event) {
/third_party/node/lib/internal/test_runner/reporter/
H A Dspec.js116 #handleEvent({ type, data }) {
138 callback(null, this.#handleEvent({ __proto__: null, type, data }));
/third_party/skia/tools/sk_app/unix/
H A Dmain_unix.cpp69 if (win->handleEvent(event)) { in main()
H A DWindow_unix.h48 bool handleEvent(const XEvent& event);
H A DWindow_unix.cpp253 bool Window_unix::handleEvent(const XEvent& event) { in handleEvent() function in sk_app::Window_unix
/third_party/node/lib/internal/
H A Devent_target.js460 if (listener.handleEvent)
461 await ReflectApply(listener.handleEvent, listener, args);
553 * @typedef {{ handleEvent: EventTargetCallback }} EventListener
1002 typeof listener?.handleEvent === 'function') {
1010 // Require `handleEvent` lazily.

Completed in 5 milliseconds