Changeset 220000 in webkit
- Timestamp:
- Jul 28, 2017 3:27:03 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r219999 r220000 1 2017-07-28 Claudio Saavedra <csaavedra@igalia.com> 2 3 [WPE] Implement EventSenderProxy in WTR 4 https://bugs.webkit.org/show_bug.cgi?id=173419 5 6 Reviewed by Žan Doberšek. 7 8 Add the implementation of EventSenderProxy to the WTR. This 9 allows us to extend the coverage of the test suite in WKWPE. 10 11 * Source/cmake/FindLibxkbcommon.cmake: Added. 12 1 13 2017-07-28 Zan Dobersek <zdobersek@igalia.com> 2 14 -
trunk/LayoutTests/ChangeLog
r219989 r220000 1 2017-07-28 Claudio Saavedra <csaavedra@igalia.com> 2 3 [WPE] Implement EventSenderProxy in WTR 4 https://bugs.webkit.org/show_bug.cgi?id=173419 5 6 Reviewed by Žan Doberšek. 7 8 Add the implementation of EventSenderProxy to the WTR. This 9 allows us to extend the coverage of the test suite in WKWPE. 10 11 * platform/wpe/TestExpectations: Unskip fast/events tests, marking failures 12 that are related to features not yet implemented in WPE. Also remove other 13 tests that are now passing thanks to having event injection. 14 * platform/wpe/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.txt: Update. 15 * platform/wpe/fast/dynamic/layer-hit-test-crash-expected.txt: Update. 16 * platform/wpe/fast/events/clientXY-in-zoom-and-scroll-expected.txt: Added. 17 * platform/wpe/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt: Update. 18 1 19 2017-07-27 Oleksandr Skachkov <gskachkov@gmail.com> 2 20 -
trunk/LayoutTests/platform/wpe/TestExpectations
r219976 r220000 103 103 Bug(WPE) ietestcenter/css3/multicolumn/column-width-applies-to-015.htm [ ImageOnlyFailure ] 104 104 Bug(WPE) ietestcenter/css3/valuesandunits/units-000.htm [ ImageOnlyFailure ] 105 106 Bug(WPE) scrollbars/scroll-rtl-or-bt-layer.html [ Timeout ]107 Bug(WPE) scrollbars/scrollbar-drag-thumb-with-large-content.html [ Failure ]108 Bug(WPE) scrollbars/scrollbar-miss-mousemove-disabled.html [ Failure ]109 Bug(WPE) scrollbars/scrolling-backward-by-page-accounting-bottom-fixed-elements-on-keyboard-spacebar.html [ Failure ]110 Bug(WPE) scrollbars/scrolling-backward-by-page-on-keyboard-spacebar.html [ Failure ]111 Bug(WPE) scrollbars/scrolling-by-page-accounting-oversized-fixed-elements-on-keyboard-spacebar.html [ Failure ]112 Bug(WPE) scrollbars/scrolling-by-page-accounting-top-fixed-elements-on-keyboard-spacebar.html [ Failure ]113 Bug(WPE) scrollbars/scrolling-by-page-accounting-top-fixed-elements-with-negative-top-on-keyboard-spacebar.html [ Failure ]114 Bug(WPE) scrollbars/scrolling-by-page-ignoring-hidden-fixed-elements-on-keyboard-spacebar.html [ Failure ]115 Bug(WPE) scrollbars/scrolling-by-page-ignoring-transparent-fixed-elements-on-keyboard-spacebar.html [ Failure ]116 Bug(WPE) scrollbars/scrolling-by-page-on-keyboard-spacebar.html [ Failure ]117 105 118 106 # These are prone to run in parallel, consuming all the memory on the system. … … 219 207 220 208 Bug(WPE) fast/encoding [ Pass ] 221 Bug(WPE) fast/encoding/mailto-always-utf-8.html [ Timeout ]222 209 223 210 fast/events/constructors/keyboard-event-constructor.html [ Pass ] … … 231 218 Bug(WPE) fast/parser/external-entities-in-xslt.xml [ Failure ] 232 219 Bug(WPE) fast/parser/nested-fragment-parser-crash.html [ Failure ] 233 Bug(WPE) fast/parser/tabindex-parsing.html [ Failure ]234 220 Bug(WPE) fast/parser/xml-colon-entity.html [ Failure ] 235 221 Bug(WPE) fast/parser/xml-declaration-missing-ending-mark.html [ Failure ] … … 261 247 Bug(WPE) fast/cookies [ Pass ] 262 248 Bug(WPE) fast/custom-elements [ Pass ] 249 250 Bug(WPE) fast/events [ Pass ] 251 # These tests were moved on r187990 from platform/ios-simulator/ios/fast/events/touch 252 webkit.org/b/148940 fast/events/touch/document-create-touch-list-ios.html [ Skip ] 253 webkit.org/b/148940 fast/events/touch/gesture-event-basic.html [ Skip ] 254 webkit.org/b/148940 fast/events/touch/input-touch-target.html [ Skip ] 255 webkit.org/b/148940 fast/events/touch/inserted-fragment-touch-target.html [ Skip ] 256 webkit.org/b/148940 fast/events/touch/moved-touch-target.html [ Skip ] 257 webkit.org/b/148940 fast/events/touch/multi-touch-some-without-handlers.html [ Skip ] 258 webkit.org/b/148940 fast/events/touch/ontouchstart-active-selector.html [ Skip ] 259 webkit.org/b/148940 fast/events/touch/removed-fragment-touch-target.html [ Skip ] 260 webkit.org/b/148940 fast/events/touch/removed-touch-target.html [ Skip ] 261 webkit.org/b/148940 fast/events/touch/text-node-touch-target.html [ Skip ] 262 webkit.org/b/148940 fast/events/touch/textarea-touch-target.html [ Skip ] 263 webkit.org/b/148940 fast/events/touch/touch-event-frames.html [ Skip ] 264 webkit.org/b/148940 fast/events/touch/touch-event-pageXY.html [ Skip ] 265 webkit.org/b/148940 fast/events/touch/zoomed-touch-event-pageXY.html [ Skip ] 266 267 # Need support for internals.settings.setDeviceSupportsMouse 268 fast/events/touch/scroll-without-mouse-lacks-mousemove-events.html [ Skip ] 269 # ENABLE_TOUCH_SLIDER is disabled in WPE. 270 fast/events/touch/touch-slider.html [ Skip ] 271 # WPE does not support touch event canceling 272 webkit.org/b/128172 fast/events/touch/send-oncancel-event.html [ Skip ] 273 fast/events/touch/touch-input-element-change-documents.html 274 275 webkit.org/b/174673 fast/events/arrow-keys-on-body.html [ Failure ] 276 webkit.org/b/174673 fast/events/keyboardevent-code.html [ Failure ] 277 webkit.org/b/174673 fast/events/keyboardevent-key.html [ Failure ] 278 webkit.org/b/174673 fast/events/key-events-in-input-button.html [ Failure ] 279 webkit.org/b/174673 fast/events/key-events-in-input-text.html [ Failure ] 280 281 # clickCount related failures 282 webkit.org/b/174674 fast/events/click-count.html [ Failure ] 283 webkit.org/b/174674 fast/events/dblclick-addEventListener.html [ Failure ] 284 webkit.org/b/174674 fast/events/mouse-click-events.html [ Failure ] 285 webkit.org/b/174674 fast/events/selectstart-by-double-triple-clicks.html [ Failure ] 286 webkit.org/b/174674 fast/events/zoom-dblclick.html [ Failure ] 287 288 webkit.org/b/84692 fast/events/attempt-scroll-with-no-scrollbars.html [ Failure ] 289 290 # ENABLE_PROXIMITY_EVENTS is OFF in WPE. 291 fast/events/constructors/device-proximity-event-constructor.html [ Skip ] 292 293 # ENABLE_DRAG_SUPPORT is OFF in WPE. 294 fast/events/5056619.html [ Skip ] 295 fast/events/before-input-events-prevent-drag-and-drop.html [ Skip ] 296 fast/events/bogus-dropEffect-effectAllowed.html [ Skip ] 297 fast/events/clear-drag-state.html [ Skip ] 298 fast/events/do-not-drag-and-drop-data-detectors-link.html [ Skip ] 299 fast/events/drag-and-drop-autoscroll-inner-frame.html [ Skip ] 300 fast/events/drag-and-drop-autoscroll.html [ Skip ] 301 fast/events/drag-and-drop-dataTransfer-types-nocrash.html [ Skip ] 302 fast/events/drag-and-drop-fire-drag-dragover.html [ Skip ] 303 fast/events/drag-and-drop-link-containing-block.html [ Skip ] 304 fast/events/drag-and-drop-link-fast-multiple-times-does-not-crash.html [ Skip ] 305 fast/events/drag-and-drop-link-into-focused-contenteditable.html [ Skip ] 306 fast/events/drag-and-drop-link.html [ Skip ] 307 fast/events/drag-and-drop-set-drag-data-arguments.html [ Skip ] 308 fast/events/drag-and-drop-subframe-dataTransfer.html [ Skip ] 309 fast/events/drag-and-drop.html [ Skip ] 310 fast/events/drag-customData.html [ Skip ] 311 fast/events/drag-dataTransferItemList-file-handling.html [ Skip ] 312 fast/events/drag-display-none-element.html [ Skip ] 313 fast/events/drag-image-filename.html [ Skip ] 314 fast/events/drag-in-frames.html [ Skip ] 315 fast/events/drag-outside-window.html [ Skip ] 316 fast/events/drag-parent-node.html [ Skip ] 317 fast/events/drag-select-when-zoomed-with-header.html [ Skip ] 318 fast/events/drag-select-when-zoomed.html [ Skip ] 319 fast/events/drag-selects-image.html [ Skip ] 320 fast/events/drag-text-with-clear.html [ Skip ] 321 fast/events/draggable-div-customdata.html [ Skip ] 322 fast/events/draggable-div-nodata.html [ Skip ] 323 fast/events/dropzone-001.html [ Skip ] 324 fast/events/dropzone-002.html [ Skip ] 325 fast/events/dropzone-003.html [ Skip ] 326 fast/events/dropzone-005.html [ Skip ] 327 fast/events/event-attribute.html [ Skip ] 328 fast/events/mousedown-inside-dragstart-should-not-cause-crash.html [ Skip ] 329 fast/events/ondragenter.html [ Skip ] 330 fast/events/remove-target-with-shadow-in-drag.html [ Skip ] 331 fast/events/resources/drag-in-frames-left.html [ Skip ] 332 fast/events/resources/drag-in-frames-right.html [ Skip ] 333 fast/events/shift-drag-selection-on-image-triggers-drag-n-drop.html [ Skip ] 334 fast/events/shift-drag-selection-on-link-triggers-drag-n-drop.html [ Skip ] 335 fast/events/touch/gesture/long-press-on-draggable-element-triggers-drag.html [ Skip ] 336 fast/events/touch/gesture/resources/drag-inside-iframe2.html [ Skip ] 337 fast/events/touch/gesture/resources/drag-inside-nested-iframes3.html [ Skip ] 338 339 # Tests below are copied from wk2 expectations, because we've marked 340 # as passing the whole fast/events directory. 341 342 # WebKitTestRunner needs testRunner.abortModal 343 # <https://bugs.webkit.org/show_bug.cgi?id=69548> 344 fast/events/beforeunload-showModalDialog.html 345 fast/events/pagehide-showModalDialog.html 346 fast/events/scroll-event-during-modal-dialog.html 347 fast/events/show-modal-dialog-onblur-onfocus.html 348 fast/events/unload-showModalDialog.html 349 350 # WebKitTestRunner needs an implementation of eventSender.beginDragWithFiles 351 # https://bugs.webkit.org/show_bug.cgi?id=64285 352 fast/events/data-transfer-files-attribute-identity.html 353 fast/events/drag-file-crash.html 354 fast/events/drag-to-navigate.html 355 fast/events/drop-handler-should-not-stop-navigate.html 356 fast/events/drop-with-file-paths.html 357 fast/events/dropzone-004.html 358 fast/events/file-input-hidden-in-ondrop.html 359 fast/events/input-element-display-none-in-dragleave-crash.html 360 fast/events/only-valid-drop-targets-receive-file-drop.html 361 fast/events/prevent-drag-to-navigate.html 362 363 # WebKitTestRunner needs textInputController 364 # <https://bugs.webkit.org/show_bug.cgi?id=42337> 365 fast/events/ime-composition-events-001.html 366 367 # testRunner.setWindowIsKey() has no effect on the web process side in WebKit2 368 # https://bugs.webkit.org/show_bug.cgi?id=81736 rdar://problem/11088268 369 fast/events/blur-focus-window-should-blur-focus-element.html 370 371 # eventSender.dragMode is unimplemented in WKTR 372 # Mac: https://bugs.webkit.org/show_bug.cgi?id=68552 373 fast/events/controlclick-no-onclick.html 374 fast/events/moving-text-should-fire-drop-and-dragend-events.html 375 fast/events/moving-text-should-fire-drop-and-dragend-events-2.html 376 fast/events/ondrop-text-html.html 377 378 # WTR needs an implementation for eventSender.continuousMouseScrollBy 379 # https://bugs.webkit.org/show_bug.cgi?id=69417 380 fast/events/wheelevent-direction-inverted-from-device.html 381 382 # The tests below need gardening after the EventSenderWPE has been added. 383 # Most of them are probably failing because of missing support of event related 384 # features in WPE. 385 webkit.org/b/173419 fast/events/autoscroll-in-overflow-hidden-html.html [ Failure ] 386 webkit.org/b/173419 fast/events/autoscroll-in-textarea.html [ Failure ] 387 webkit.org/b/173419 fast/events/autoscroll-in-textfield.html [ Failure ] 388 webkit.org/b/173419 fast/events/autoscroll-nonscrollable-iframe-in-scrollable-div.html [ Failure ] 389 webkit.org/b/173419 fast/events/before-input-prevent-paste.html [ Failure ] 390 webkit.org/b/173419 fast/events/click-focus-control.html [ Failure ] 391 webkit.org/b/173419 fast/events/click-range-slider.html [ Failure ] 392 webkit.org/b/173419 fast/events/constructors/media-stream-event-constructor.html [ Failure ] 393 webkit.org/b/173419 fast/events/constructors/mouse-event-constructor.html [ Failure ] 394 webkit.org/b/173419 fast/events/constructors/overconstrained-error-event-constructor.html [ Failure ] 395 webkit.org/b/173419 fast/events/constructors/wheel-event-constructor.html [ Failure ] 396 webkit.org/b/173419 fast/events/content-changed-during-drop.html [ Failure ] 397 webkit.org/b/173419 fast/events/context-activated-by-key-event.html [ Failure ] 398 webkit.org/b/173419 fast/events/continuous-platform-wheelevent-in-scrolling-div.html [ Failure ] 399 webkit.org/b/173419 fast/events/crash-on-mutate-during-drop.html [ Failure ] 400 webkit.org/b/173419 fast/events/frame-tab-focus.html [ Failure ] 401 webkit.org/b/173419 fast/events/ime-compositionend-on-selection-change.html [ Failure ] 402 webkit.org/b/173419 fast/events/input-events-drag-and-drop.html [ Failure ] 403 webkit.org/b/173419 fast/events/input-events-insert-by-drop.html [ Failure ] 404 webkit.org/b/173419 fast/events/input-events-paste-data.html [ Failure ] 405 webkit.org/b/173419 fast/events/input-events-paste-rich-datatransfer.html [ Failure ] 406 webkit.org/b/173419 fast/events/js-keyboard-event-creation.html [ Failure ] 407 webkit.org/b/173419 fast/events/keydown-1.html [ Failure ] 408 webkit.org/b/173419 fast/events/keydown-numpad-keys.html [ Failure ] 409 webkit.org/b/173419 fast/events/mouse-cursor-image-set.html [ Failure ] 410 webkit.org/b/173419 fast/events/mouse-drag-from-frame-to-other-frame.html [ Failure ] 411 webkit.org/b/173419 fast/events/mouse-drag-from-frame.html [ Failure ] 412 webkit.org/b/173419 fast/events/mouseenterleave-on-subframe.html [ Failure ] 413 webkit.org/b/173419 fast/events/mouseover-button.html [ Failure ] 414 webkit.org/b/173419 fast/events/mouseover-mouseout.html [ Failure ] 415 webkit.org/b/173419 fast/events/mouseover-mouseout2.html [ Failure ] 416 webkit.org/b/173419 fast/events/mouseup-from-button2.html [ Failure ] 417 webkit.org/b/173419 fast/events/no-scroll-on-input-text-selection.html [ Failure ] 418 webkit.org/b/173419 fast/events/node-event-anchor-lock.html [ Failure ] 419 webkit.org/b/173419 fast/events/offsetX-offsetY.html [ Failure ] 420 webkit.org/b/173419 fast/events/onchange-range-slider.html [ Failure ] 421 webkit.org/b/173419 fast/events/option-tab.html [ Failure ] 422 webkit.org/b/173419 fast/events/page-scaled-mouse-click-iframe.html [ Failure ] 423 webkit.org/b/173419 fast/events/platform-wheelevent-in-scrolling-div.html [ Failure ] 424 webkit.org/b/173419 fast/events/platform-wheelevent-paging-x-in-non-scrolling-div.html [ Failure ] 425 webkit.org/b/173419 fast/events/platform-wheelevent-paging-x-in-non-scrolling-page.html [ Failure ] 426 webkit.org/b/173419 fast/events/platform-wheelevent-paging-x-in-scrolling-div.html [ Failure ] 427 webkit.org/b/173419 fast/events/platform-wheelevent-paging-x-in-scrolling-page.html [ Failure ] 428 webkit.org/b/173419 fast/events/platform-wheelevent-paging-xy-in-scrolling-div.html [ Failure ] 429 webkit.org/b/173419 fast/events/platform-wheelevent-paging-xy-in-scrolling-page.html [ Failure ] 430 webkit.org/b/173419 fast/events/platform-wheelevent-paging-y-in-non-scrolling-div.html [ Failure ] 431 webkit.org/b/173419 fast/events/platform-wheelevent-paging-y-in-non-scrolling-page.html [ Failure ] 432 webkit.org/b/173419 fast/events/platform-wheelevent-paging-y-in-scrolling-div.html [ Failure ] 433 webkit.org/b/173419 fast/events/platform-wheelevent-paging-y-in-scrolling-page.html [ Failure ] 434 webkit.org/b/173419 fast/events/scroll-in-scaled-page-with-overflow-hidden.html [ Failure ] 435 webkit.org/b/173419 fast/events/selectstart-by-drag.html [ Failure ] 436 webkit.org/b/173419 fast/events/selectstart-by-single-click-with-shift.html [ Failure ] 437 webkit.org/b/173419 fast/events/sequential-focus-navigation-starting-point.html [ Failure ] 438 webkit.org/b/173419 fast/events/shadow-event-path-2.html [ Failure ] 439 webkit.org/b/173419 fast/events/shadow-event-path.html [ Failure ] 440 webkit.org/b/173419 fast/events/special-key-events-in-input-text.html [ Failure ] 441 webkit.org/b/173419 fast/events/tabindex-focus-blur-all.html [ Failure ] 442 webkit.org/b/173419 fast/events/touch/basic-multi-touch-events-limited.html [ Failure ] 443 webkit.org/b/173419 fast/events/touch/basic-multi-touch-events.html [ Failure ] 444 webkit.org/b/173419 fast/events/touch/document-create-touch-list.html [ Failure ] 445 webkit.org/b/173419 fast/events/touch/document-create-touch.html [ Failure ] 446 webkit.org/b/173419 fast/events/touch/emulate-touch-events.html [ Failure ] 447 webkit.org/b/173419 fast/events/touch/touch-before-pressing-spin-button.html [ Failure ] 448 webkit.org/b/173419 fast/events/webkit-media-key-events-constructor.html [ Failure ] 449 webkit.org/b/173419 fast/events/wheelevent-basic.html [ Failure ] 450 webkit.org/b/173419 fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html [ Failure ] 451 webkit.org/b/173419 fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html [ Failure ] 452 webkit.org/b/173419 fast/events/autoscroll-main-document.html [ Timeout ] 453 webkit.org/b/173419 fast/events/autoscroll-should-not-stop-on-keypress.html [ Timeout ] 454 webkit.org/b/173419 fast/events/autoscroll-when-zoomed.html [ Timeout ] 455 webkit.org/b/173419 fast/events/before-input-prevent-insert-replacement.html [ Timeout ] 456 webkit.org/b/173419 fast/events/can-click-element-on-page-with-active-pseudo-class-and-search-field.html [ Timeout ] 457 webkit.org/b/173419 fast/events/clipboard-dataTransferItemList.html [ Timeout ] 458 webkit.org/b/173419 fast/events/drag-dataTransferItemList.html [ Timeout ] 459 webkit.org/b/173419 fast/events/event-view-toString.html [ Timeout ] 460 webkit.org/b/173419 fast/events/frame-detached-in-mousedown.html [ Timeout ] 461 webkit.org/b/173419 fast/events/iframe-onmousemove.html [ Timeout ] 462 webkit.org/b/173419 fast/events/input-event-insert-replacement.html [ Timeout ] 463 webkit.org/b/173419 fast/events/mouse-force-changed.html [ Timeout ] 464 webkit.org/b/173419 fast/events/mouse-force-down.html [ Timeout ] 465 webkit.org/b/173419 fast/events/mouse-force-up.html [ Timeout ] 466 webkit.org/b/173419 fast/events/mouse-moved-remove-frame-crash.html [ Timeout ] 467 webkit.org/b/173419 fast/events/page-visibility-iframe-delete-test.html [ Timeout ] 468 webkit.org/b/173419 fast/events/page-visibility-iframe-move-test.html [ Timeout ] 469 webkit.org/b/173419 fast/events/page-visibility-iframe-propagation-test.html [ Timeout ] 470 webkit.org/b/173419 fast/events/page-visibility-onvisibilitychange.html [ Timeout ] 471 webkit.org/b/173419 fast/events/page-visibility-transition-test.html [ Timeout ] 472 webkit.org/b/173419 fast/events/popup-blocking-click-in-iframe.html [ Timeout ] 473 webkit.org/b/173419 fast/events/scroll-after-click-on-tab-index.html [ Timeout ] 474 webkit.org/b/173419 fast/events/standalone-image-drag-to-editable.html [ Timeout ] 475 webkit.org/b/173419 fast/events/touch/emulated-touch-iframe.html [ Timeout ] 476 webkit.org/b/173419 fast/events/touch/multi-touch-grouped-targets.html [ Timeout ] 477 webkit.org/b/173419 fast/events/touch/multi-touch-inside-nested-iframes.html [ Timeout ] 478 webkit.org/b/173419 fast/events/touch/page-scaled-touch-gesture-click.html [ Timeout ] 479 webkit.org/b/173419 fast/events/touch/touch-target-limited.html [ Timeout ] 480 webkit.org/b/173419 fast/events/touch/touch-target.html [ Timeout ] 481 webkit.org/b/173419 fast/events/wheel-event-destroys-frame.html [ Timeout ] 482 483 fast/events/ios [ Skip ] 484 fast/events/touch/ios [ Skip ] 485 fast/events/touch/gesture [ Skip ] 486 263 487 Bug(WPE) fast/eventsource [ Pass ] 264 488 Bug(WPE) fast/gradients [ Pass ] … … 313 537 Bug(WPE) fast/dom/HTMLTextAreaElement [ Pass ] 314 538 Bug(WPE) fast/dom/MutationObserver [ Pass ] 315 Bug(WPE) fast/dom/MutationObserver/end-of-task-delivery.html [ Timeout ] 316 Bug(WPE) fast/dom/MutationObserver/inline-event-listener.html [ Timeout ] 539 webkit.org/b/78290 fast/dom/MutationObserver/end-of-task-delivery.html [ Failure ] 317 540 Bug(WPE) fast/dom/NavigatorContentUtils [ Pass ] 318 541 Bug(WPE) fast/dom/NavigatorContentUtils/is-protocol-handler-registered.html [ Failure ] 319 542 Bug(WPE) fast/dom/Node [ Pass ] 320 Bug(WPE) fast/dom/Node/mutation-blur.html [ Timeout ]321 543 Bug(WPE) fast/dom/NodeList [ Pass ] 322 544 Bug(WPE) fast/dom/Orientation [ Pass ] … … 335 557 Bug(WPE) storage/indexeddb/modern/worker-getall.html [ Timeout ] 336 558 Bug(WPE) storage/domstorage/events/basic-body-attribute.html [ Failure ] 337 webkit.org/b/173419 storage/domstorage/sessionstorage/set-item-synchronous-keydown.html [ Failure ]338 559 Bug(WPE) storage/indexeddb/basics-workers.html [ Failure ] 339 560 Bug(WPE) storage/indexeddb/cursor-advance-workers.html [ Failure ] -
trunk/LayoutTests/platform/wpe/fast/dom/HTMLTableColElement/resize-table-using-col-width-expected.txt
r216500 r220000 4 4 RenderBlock {HTML} at (0,0) size 800x600 5 5 RenderBody {BODY} at (8,8) size 784x584 6 RenderTable {TABLE} at (0,0) size 238x50 [border: (1px outset #808080)]6 RenderTable {TABLE} at (0,0) size 662x50 [border: (1px outset #808080)] 7 7 RenderTableCol {COLGROUP} at (0,0) size 0x0 8 8 RenderTableCol {COL} at (0,0) size 0x0 9 9 RenderTableCol {COL} at (0,0) size 0x0 10 10 RenderTableCol {COL} at (0,0) size 0x0 11 RenderTableSection {TBODY} at (1,1) size 236x4812 RenderTableRow {TR} at (0,2) size 236x2113 RenderTableCell {TD} at (2,2) size 76x21 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]11 RenderTableSection {TBODY} at (1,1) size 660x48 12 RenderTableRow {TR} at (0,2) size 660x21 13 RenderTableCell {TD} at (2,2) size 500x21 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1] 14 14 RenderText {#text} at (2,2) size 72x17 15 15 text run at (2,2) width 72: "col 1 row 1" 16 RenderTableCell {TD} at ( 80,2) size 76x21 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1]16 RenderTableCell {TD} at (504,2) size 76x21 [border: (1px inset #808080)] [r=0 c=1 rs=1 cs=1] 17 17 RenderText {#text} at (2,2) size 72x17 18 18 text run at (2,2) width 72: "col 2 row 1" 19 RenderTableCell {TD} at ( 158,2) size 76x21 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1]19 RenderTableCell {TD} at (582,2) size 76x21 [border: (1px inset #808080)] [r=0 c=2 rs=1 cs=1] 20 20 RenderText {#text} at (2,2) size 72x17 21 21 text run at (2,2) width 72: "col 3 row 1" 22 RenderTableRow {TR} at (0,25) size 236x2123 RenderTableCell {TD} at (2,25) size 76x21 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]22 RenderTableRow {TR} at (0,25) size 660x21 23 RenderTableCell {TD} at (2,25) size 500x21 [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] 24 24 RenderText {#text} at (2,2) size 72x17 25 25 text run at (2,2) width 72: "col 1 row 2" 26 RenderTableCell {TD} at ( 80,25) size 76x21 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]26 RenderTableCell {TD} at (504,25) size 76x21 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] 27 27 RenderText {#text} at (2,2) size 72x17 28 28 text run at (2,2) width 72: "col 2 row 2" 29 RenderTableCell {TD} at ( 158,25) size 76x21 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1]29 RenderTableCell {TD} at (582,25) size 76x21 [border: (1px inset #808080)] [r=1 c=2 rs=1 cs=1] 30 30 RenderText {#text} at (2,2) size 72x17 31 31 text run at (2,2) width 72: "col 3 row 3" -
trunk/LayoutTests/platform/wpe/fast/dynamic/layer-hit-test-crash-expected.txt
r216500 r220000 16 16 layer at (70,50) size 100x100 17 17 RenderBlock (positioned) zI: 5 {DIV} at (20,0) size 100x100 [bgcolor=#FF0000] 18 caret: position 0 of child 1 {DIV} of child 3 {DIV} of body -
trunk/LayoutTests/platform/wpe/ietestcenter/css3/bordersbackgrounds/background-attachment-local-scrolling-expected.txt
r216500 r220000 9 9 text run at (0,17) width 74: "dependent)." 10 10 RenderBlock {DIV} at (0,342) size 784x0 11 layer at (8,66) size 292x292 clip at (58,116) size 177x177 scroll Height 27211 layer at (8,66) size 292x292 clip at (58,116) size 177x177 scrollY 95 scrollHeight 272 12 12 RenderBlock {DIV} at (0,50) size 292x292 [border: (50px double #000000)] 13 13 RenderText {#text} at (50,50) size 173x272 -
trunk/Tools/ChangeLog
r219990 r220000 1 2017-07-28 Claudio Saavedra <csaavedra@igalia.com> 2 3 [WPE] Implement EventSenderProxy in WTR 4 https://bugs.webkit.org/show_bug.cgi?id=173419 5 6 Reviewed by Žan Doberšek. 7 8 Add the implementation of EventSenderProxy to the WTR. This 9 allows us to extend the coverage of the test suite in WKWPE. 10 11 * WebKitTestRunner/EventSenderProxy.h: 12 * WebKitTestRunner/PlatformWPE.cmake: Add dependency on 13 libxkbcommon needed to deal with key events. 14 * WebKitTestRunner/wpe/EventSenderProxyWPE.cpp: 15 (WTR::EventSenderProxy::EventSenderProxy): 16 (WTR::senderButtonToWPEButton): 17 (WTR::EventSenderProxy::mouseDown): 18 (WTR::EventSenderProxy::mouseUp): 19 (WTR::EventSenderProxy::mouseMoveTo): 20 (WTR::EventSenderProxy::mouseScrollBy): 21 (WTR::EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases): 22 (WTR::EventSenderProxy::leapForward): 23 (WTR::wkEventModifiersToWPE): 24 (WTR::getXKBKeySymForKeyRef): 25 (WTR::EventSenderProxy::keyDown): 26 (WTR::EventSenderProxy::addTouchPoint): 27 (WTR::EventSenderProxy::updateTouchPoint): 28 (WTR::EventSenderProxy::setTouchModifier): 29 (WTR::EventSenderProxy::setTouchPointRadius): 30 (WTR::EventSenderProxy::getUpdatedTouchEvents): 31 (WTR::EventSenderProxy::removeUpdatedTouchEvents): 32 (WTR::EventSenderProxy::prepareAndDispatchTouchEvent): 33 (WTR::EventSenderProxy::touchStart): 34 (WTR::EventSenderProxy::touchMove): 35 (WTR::EventSenderProxy::touchEnd): 36 (WTR::EventSenderProxy::touchCancel): 37 (WTR::EventSenderProxy::clearTouchPoints): 38 (WTR::EventSenderProxy::releaseTouchPoint): 39 (WTR::EventSenderProxy::cancelTouchPoint): 40 1 41 2017-07-27 Brady Eidson <beidson@apple.com> 2 42 -
trunk/Tools/WebKitTestRunner/EventSenderProxy.h
r215758 r220000 36 36 #include <WebCore/GUniquePtrGtk.h> 37 37 #include <gdk/gdk.h> 38 #include <wtf/HashSet.h> 39 #endif 40 41 #if PLATFORM(WPE) 42 #include <wpe/input.h> 38 43 #include <wtf/HashSet.h> 39 44 #endif … … 115 120 #endif 116 121 122 #if PLATFORM(WPE) 123 Vector<struct wpe_input_touch_event_raw> getUpdatedTouchEvents(); 124 void removeUpdatedTouchEvents(); 125 void prepareAndDispatchTouchEvent(enum wpe_input_touch_event_type); 126 #endif 127 117 128 double m_time; 118 129 WKPoint m_position; … … 129 140 Vector<GUniquePtr<GdkEvent>> m_touchEvents; 130 141 HashSet<int> m_updatedTouchEvents; 142 #elif PLATFORM(WPE) 143 struct wpe_view_backend* m_viewBackend; 144 uint32_t m_buttonState; 145 Vector<struct wpe_input_touch_event_raw> m_touchEvents; 146 HashSet<unsigned, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned>> m_updatedTouchEvents; 131 147 #endif 132 148 }; -
trunk/Tools/WebKitTestRunner/PlatformWPE.cmake
r216497 r220000 1 1 find_package(LibGBM REQUIRED) 2 2 find_package(WPEBackend-mesa REQUIRED) 3 find_package(Libxkbcommon 0.4.0 REQUIRED) 3 4 4 5 add_custom_target(WebKitTestRunner-forwarding-headers … … 24 25 ${GLIB_INCLUDE_DIRS} 25 26 ${LIBGBM_INCLUDE_DIRS} 27 ${LIBXKBCOMMON_INCLUDE_DIRS} 26 28 ${WPE_MESA_INCLUDE_DIRS} 27 29 ) … … 31 33 ${GLIB_LIBRARIES} 32 34 ${LIBGBM_LIBRARIES} 35 ${LIBXKBCOMMON_LIBRARIES} 33 36 ${WPE_MESA_LIBRARIES} 34 37 ) -
trunk/Tools/WebKitTestRunner/wpe/EventSenderProxyWPE.cpp
r216497 r220000 27 27 #include "EventSenderProxy.h" 28 28 29 #include "HeadlessViewBackend.h" 30 #include "NotImplemented.h" 31 #include "PlatformWebView.h" 32 #include "TestController.h" 33 #include <wpe/view-backend.h> 34 #include <xkbcommon/xkbcommon-keysyms.h> 35 #include <xkbcommon/xkbcommon.h> 36 29 37 namespace WTR { 38 39 // Key event location code defined in DOM Level 3. 40 enum KeyLocationCode { 41 DOMKeyLocationStandard = 0x00, 42 DOMKeyLocationLeft = 0x01, 43 DOMKeyLocationRight = 0x02, 44 DOMKeyLocationNumpad = 0x03 45 }; 46 47 enum ButtonState { 48 ButtonReleased = 0, 49 ButtonPressed = 1 50 }; 51 52 enum PointerAxis { 53 VerticalScroll = 0, 54 HorizontalScroll = 1 55 }; 30 56 31 57 EventSenderProxy::EventSenderProxy(TestController* testController) … … 36 62 , m_clickTime(0) 37 63 , m_clickButton(kWKEventMouseButtonNoButton) 38 { 64 , m_buttonState(ButtonReleased) 65 { 66 m_viewBackend = m_testController->mainWebView()->platformWindow()->backend(); 39 67 } 40 68 … … 43 71 } 44 72 45 void EventSenderProxy::mouseDown(unsigned, WKEventModifiers) 46 { 47 } 48 49 void EventSenderProxy::mouseUp(unsigned, WKEventModifiers) 50 { 51 } 52 53 void EventSenderProxy::mouseMoveTo(double, double) 54 { 55 } 56 57 void EventSenderProxy::mouseScrollBy(int, int) 58 { 59 } 60 61 void EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases(int, int, int, int) 62 { 73 unsigned senderButtonToWPEButton(unsigned senderButton) 74 { 75 // Tests using the EventSender have a different numbering ordering than the one 76 // that the WPE port expects. Shuffle these here. 77 switch (senderButton) { 78 case 0: 79 return 1; 80 case 1: 81 return 3; 82 case 2: 83 return 2; 84 default: 85 return senderButton; 86 } 87 } 88 89 void EventSenderProxy::mouseDown(unsigned button, WKEventModifiers wkModifiers) 90 { 91 m_clickButton = button; 92 m_clickPosition = m_position; 93 m_clickTime = m_time; 94 m_buttonState = ButtonPressed; 95 96 struct wpe_input_pointer_event event { wpe_input_pointer_event_type_button, static_cast<uint32_t>(m_time), static_cast<int>(m_position.x), static_cast<int>(m_position.y), senderButtonToWPEButton(button), m_buttonState}; 97 wpe_view_backend_dispatch_pointer_event(m_viewBackend, &event); 98 } 99 100 void EventSenderProxy::mouseUp(unsigned button, WKEventModifiers wkModifiers) 101 { 102 m_buttonState = ButtonReleased; 103 m_clickButton = kWKEventMouseButtonNoButton; 104 105 struct wpe_input_pointer_event event { wpe_input_pointer_event_type_button, static_cast<uint32_t>(m_time), static_cast<int>(m_position.x), static_cast<int>(m_position.y), senderButtonToWPEButton(button), m_buttonState}; 106 wpe_view_backend_dispatch_pointer_event(m_viewBackend, &event); 107 } 108 109 void EventSenderProxy::mouseMoveTo(double x, double y) 110 { 111 m_position.x = x; 112 m_position.y = y; 113 114 struct wpe_input_pointer_event event { wpe_input_pointer_event_type_motion, static_cast<uint32_t>(m_time), static_cast<int>(m_position.x), static_cast<int>(m_position.y), static_cast<uint32_t>(m_clickButton), m_buttonState}; 115 wpe_view_backend_dispatch_pointer_event(m_viewBackend, &event); 116 } 117 118 void EventSenderProxy::mouseScrollBy(int horizontal, int vertical) 119 { 120 // Copy behaviour of GTK+ - just return in case of (0,0) mouse scroll 121 if (!horizontal && !vertical) 122 return; 123 124 if (horizontal) { 125 struct wpe_input_axis_event event = { wpe_input_axis_event_type_motion, static_cast<uint32_t>(m_time), static_cast<int>(m_position.x), static_cast<int>(m_position.y), HorizontalScroll, horizontal}; 126 wpe_view_backend_dispatch_axis_event(m_viewBackend, &event); 127 } 128 if (vertical) { 129 struct wpe_input_axis_event event = { wpe_input_axis_event_type_motion, static_cast<uint32_t>(m_time), static_cast<int>(m_position.x), static_cast<int>(m_position.y), VerticalScroll, vertical}; 130 wpe_view_backend_dispatch_axis_event(m_viewBackend, &event); 131 } 132 } 133 134 void EventSenderProxy::mouseScrollByWithWheelAndMomentumPhases(int horizontal, int vertical, int, int) 135 { 136 mouseScrollBy(horizontal, vertical); 63 137 } 64 138 … … 67 141 } 68 142 69 void EventSenderProxy::leapForward(int) 70 { 71 } 72 73 void EventSenderProxy::keyDown(WKStringRef, WKEventModifiers, unsigned) 74 { 75 } 76 77 void EventSenderProxy::addTouchPoint(int, int) 78 { 79 } 80 81 void EventSenderProxy::updateTouchPoint(int, int, int) 82 { 143 void EventSenderProxy::leapForward(int milliseconds) 144 { 145 m_time += milliseconds / 1000.0; 146 } 147 148 static uint8_t wkEventModifiersToWPE(WKEventModifiers wkModifiers) 149 { 150 uint8_t modifiers = 0; 151 if (wkModifiers & kWKEventModifiersShiftKey) 152 modifiers |= wpe_input_keyboard_modifier_shift; 153 if (wkModifiers & kWKEventModifiersControlKey) 154 modifiers |= wpe_input_keyboard_modifier_control; 155 if (wkModifiers & kWKEventModifiersAltKey) 156 modifiers |= wpe_input_keyboard_modifier_alt; 157 if (wkModifiers & kWKEventModifiersMetaKey) 158 modifiers |= wpe_input_keyboard_modifier_meta; 159 160 return modifiers; 161 } 162 163 int getXKBKeySymForKeyRef(WKStringRef keyRef, unsigned location, uint8_t* modifiers) 164 { 165 if (location == DOMKeyLocationNumpad) { 166 if (WKStringIsEqualToUTF8CString(keyRef, "leftArrow")) 167 return XKB_KEY_KP_Left; 168 if (WKStringIsEqualToUTF8CString(keyRef, "rightArror")) 169 return XKB_KEY_KP_Right; 170 if (WKStringIsEqualToUTF8CString(keyRef, "upArrow")) 171 return XKB_KEY_KP_Up; 172 if (WKStringIsEqualToUTF8CString(keyRef, "downArrow")) 173 return XKB_KEY_KP_Down; 174 if (WKStringIsEqualToUTF8CString(keyRef, "pageUp")) 175 return XKB_KEY_KP_Page_Up; 176 if (WKStringIsEqualToUTF8CString(keyRef, "pageDown")) 177 return XKB_KEY_KP_Page_Down; 178 if (WKStringIsEqualToUTF8CString(keyRef, "home")) 179 return XKB_KEY_KP_Home; 180 if (WKStringIsEqualToUTF8CString(keyRef, "end")) 181 return XKB_KEY_KP_End; 182 if (WKStringIsEqualToUTF8CString(keyRef, "insert")) 183 return XKB_KEY_KP_Insert; 184 if (WKStringIsEqualToUTF8CString(keyRef, "delete")) 185 return XKB_KEY_KP_Delete; 186 187 return XKB_KEY_VoidSymbol; 188 } 189 190 if (WKStringIsEqualToUTF8CString(keyRef, "leftControl")) 191 return XKB_KEY_Control_L; 192 if (WKStringIsEqualToUTF8CString(keyRef, "rightControl")) 193 return XKB_KEY_Control_R; 194 if (WKStringIsEqualToUTF8CString(keyRef, "leftShift")) 195 return XKB_KEY_Shift_L; 196 if (WKStringIsEqualToUTF8CString(keyRef, "rightShift")) 197 return XKB_KEY_Shift_R; 198 if (WKStringIsEqualToUTF8CString(keyRef, "leftAlt")) 199 return XKB_KEY_Alt_L; 200 if (WKStringIsEqualToUTF8CString(keyRef, "rightAlt")) 201 return XKB_KEY_Alt_R; 202 if (WKStringIsEqualToUTF8CString(keyRef, "leftArrow")) 203 return XKB_KEY_Left; 204 if (WKStringIsEqualToUTF8CString(keyRef, "rightArrow")) 205 return XKB_KEY_Right; 206 if (WKStringIsEqualToUTF8CString(keyRef, "upArrow")) 207 return XKB_KEY_Up; 208 if (WKStringIsEqualToUTF8CString(keyRef, "downArrow")) 209 return XKB_KEY_Down; 210 if (WKStringIsEqualToUTF8CString(keyRef, "pageUp")) 211 return XKB_KEY_Page_Up; 212 if (WKStringIsEqualToUTF8CString(keyRef, "pageDown")) 213 return XKB_KEY_Page_Down; 214 if (WKStringIsEqualToUTF8CString(keyRef, "home")) 215 return XKB_KEY_Home; 216 if (WKStringIsEqualToUTF8CString(keyRef, "end")) 217 return XKB_KEY_End; 218 if (WKStringIsEqualToUTF8CString(keyRef, "insert")) 219 return XKB_KEY_Insert; 220 if (WKStringIsEqualToUTF8CString(keyRef, "delete")) 221 return XKB_KEY_Delete; 222 if (WKStringIsEqualToUTF8CString(keyRef, "printScreen")) 223 return XKB_KEY_Print; 224 if (WKStringIsEqualToUTF8CString(keyRef, "menu")) 225 return XKB_KEY_Menu; 226 if (WKStringIsEqualToUTF8CString(keyRef, "F1")) 227 return XKB_KEY_F1; 228 if (WKStringIsEqualToUTF8CString(keyRef, "F2")) 229 return XKB_KEY_F2; 230 if (WKStringIsEqualToUTF8CString(keyRef, "F3")) 231 return XKB_KEY_F3; 232 if (WKStringIsEqualToUTF8CString(keyRef, "F4")) 233 return XKB_KEY_F4; 234 if (WKStringIsEqualToUTF8CString(keyRef, "F5")) 235 return XKB_KEY_F5; 236 if (WKStringIsEqualToUTF8CString(keyRef, "F6")) 237 return XKB_KEY_F6; 238 if (WKStringIsEqualToUTF8CString(keyRef, "F7")) 239 return XKB_KEY_F7; 240 if (WKStringIsEqualToUTF8CString(keyRef, "F8")) 241 return XKB_KEY_F8; 242 if (WKStringIsEqualToUTF8CString(keyRef, "F9")) 243 return XKB_KEY_F9; 244 if (WKStringIsEqualToUTF8CString(keyRef, "F10")) 245 return XKB_KEY_F10; 246 if (WKStringIsEqualToUTF8CString(keyRef, "F11")) 247 return XKB_KEY_F11; 248 if (WKStringIsEqualToUTF8CString(keyRef, "F12")) 249 return XKB_KEY_F12; 250 251 size_t bufferSize = WKStringGetMaximumUTF8CStringSize(keyRef); 252 auto buffer = std::make_unique<char[]>(bufferSize); 253 WKStringGetUTF8CString(keyRef, buffer.get(), bufferSize); 254 char charCode = buffer.get()[0]; 255 256 if (charCode == '\n' || charCode == '\r') 257 return XKB_KEY_Return; 258 if (charCode == '\t') 259 return XKB_KEY_Tab; 260 if (charCode == '\x8') 261 return XKB_KEY_BackSpace; 262 if (charCode == 0x001B) 263 return XKB_KEY_Escape; 264 265 if (WTF::isASCIIUpper(charCode)) 266 *modifiers |= wpe_input_keyboard_modifier_shift; 267 268 // Not sure if this is correct. 269 return charCode; 270 } 271 272 void EventSenderProxy::keyDown(WKStringRef keyRef, WKEventModifiers wkModifiers, unsigned location) 273 { 274 uint8_t modifiers = wkEventModifiersToWPE(wkModifiers); 275 uint32_t keySym = getXKBKeySymForKeyRef(keyRef, location, &modifiers); 276 uint32_t unicode = xkb_keysym_to_utf32(keySym); 277 struct wpe_input_keyboard_event event { static_cast<uint32_t>(m_time), keySym, unicode, true, modifiers}; 278 wpe_view_backend_dispatch_keyboard_event(m_viewBackend, &event); 279 event.pressed = false; 280 wpe_view_backend_dispatch_keyboard_event(m_viewBackend, &event); 281 } 282 283 void EventSenderProxy::addTouchPoint(int x, int y) 284 { 285 struct wpe_input_touch_event_raw rawEvent { wpe_input_touch_event_type_down, static_cast<uint32_t>(m_time), static_cast<int>(m_touchEvents.size()), static_cast<int32_t>(x), static_cast<int32_t>(y) }; 286 m_touchEvents.append(rawEvent); 287 m_updatedTouchEvents.add(rawEvent.id); 288 } 289 290 void EventSenderProxy::updateTouchPoint(int index, int x, int y) 291 { 292 ASSERT(index >= 0 && index <= m_touchEvents.size()); 293 294 auto& rawEvent = m_touchEvents[index]; 295 rawEvent.x = x; 296 rawEvent.y = y; 297 rawEvent.time = m_time; 298 rawEvent.type = wpe_input_touch_event_type_motion; 299 m_updatedTouchEvents.add(index); 83 300 } 84 301 85 302 void EventSenderProxy::setTouchModifier(WKEventModifiers, bool) 86 303 { 304 notImplemented(); 87 305 } 88 306 89 307 void EventSenderProxy::setTouchPointRadius(int, int) 90 308 { 309 notImplemented(); 310 } 311 312 Vector<struct wpe_input_touch_event_raw> EventSenderProxy::getUpdatedTouchEvents() 313 { 314 Vector<wpe_input_touch_event_raw> events; 315 for (auto id : m_updatedTouchEvents) 316 events.append(m_touchEvents[id]); 317 return events; 318 } 319 320 void EventSenderProxy::removeUpdatedTouchEvents() 321 { 322 for (auto id : m_updatedTouchEvents) 323 m_touchEvents[id].type = wpe_input_touch_event_type_null; 324 m_touchEvents.removeAllMatching([] (auto current) { 325 return current.type == wpe_input_touch_event_type_null; 326 }); 327 } 328 329 void EventSenderProxy::prepareAndDispatchTouchEvent(enum wpe_input_touch_event_type eventType) 330 { 331 auto updatedEvents = getUpdatedTouchEvents(); 332 struct wpe_input_touch_event event = { updatedEvents.data(), updatedEvents.size(), eventType, 0, static_cast<uint32_t>(m_time) }; 333 wpe_view_backend_dispatch_touch_event(m_viewBackend, &event); 334 if (eventType == wpe_input_touch_event_type_up) 335 removeUpdatedTouchEvents(); 336 m_updatedTouchEvents.clear(); 91 337 } 92 338 93 339 void EventSenderProxy::touchStart() 94 340 { 341 prepareAndDispatchTouchEvent(wpe_input_touch_event_type_down); 95 342 } 96 343 97 344 void EventSenderProxy::touchMove() 98 345 { 346 prepareAndDispatchTouchEvent(wpe_input_touch_event_type_motion); 99 347 } 100 348 101 349 void EventSenderProxy::touchEnd() 102 350 { 351 prepareAndDispatchTouchEvent(wpe_input_touch_event_type_up); 103 352 } 104 353 105 354 void EventSenderProxy::touchCancel() 106 355 { 356 notImplemented(); 107 357 } 108 358 109 359 void EventSenderProxy::clearTouchPoints() 110 360 { 111 } 112 113 void EventSenderProxy::releaseTouchPoint(int) 114 { 361 m_touchEvents.clear(); 362 m_updatedTouchEvents.clear(); 363 } 364 365 void EventSenderProxy::releaseTouchPoint(int index) 366 { 367 ASSERT(index >= 0 && index <= m_touchEvents.size()); 368 369 auto& rawEvent = m_touchEvents[index]; 370 rawEvent.time = m_time; 371 rawEvent.type = wpe_input_touch_event_type_up; 372 m_updatedTouchEvents.add(index); 115 373 } 116 374 117 375 void EventSenderProxy::cancelTouchPoint(int) 118 376 { 377 notImplemented(); 119 378 } 120 379
Note: See TracChangeset
for help on using the changeset viewer.