(type, x, y)
| 349 | } |
| 350 | |
| 351 | export function createPointerEvent(type, x, y) { |
| 352 | const event = new /*OK*/ CustomEvent(type, {bubbles: true}); |
| 353 | event.clientX = x; |
| 354 | event.clientY = y; |
| 355 | event.pageX = x; |
| 356 | event.pageY = y; |
| 357 | event.touches = [ |
| 358 | { |
| 359 | clientX: x, |
| 360 | clientY: y, |
| 361 | pageX: x, |
| 362 | pageY: y, |
| 363 | }, |
| 364 | ]; |
| 365 | return event; |
| 366 | } |
| 367 | |
| 368 | export class ImagePixelVerifier { |
| 369 | constructor(windowInterface) { |
no outgoing calls
no test coverage detected