Changeset 252366 in webkit
- Timestamp:
- Nov 12, 2019, 8:35:55 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 10 edited
-
ChangeLog (modified) (1 diff)
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/ChangeLog (modified) (1 diff)
-
LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js (modified) (1 diff)
-
LayoutTests/platform/gtk/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/gtk/imported/w3c/web-platform-tests/pointerevents (deleted)
-
LayoutTests/platform/wpe/TestExpectations (modified) (2 diffs)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/UIProcess/PageClient.h (modified) (1 diff)
-
Source/cmake/OptionsGTK.cmake (modified) (1 diff)
-
Source/cmake/OptionsWPE.cmake (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r252361 r252366 1 2019-11-12 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK][WPE] Support Pointer Events 4 https://bugs.webkit.org/show_bug.cgi?id=202789 5 6 Reviewed by Carlos Garcia Campos. 7 8 Build support for PointerEvents when EXPERIMENTAL_FEATURES is enabled. 9 Currently support for PointerEvents of pointerType==mouse works fine, 10 but support for other type of PointerEvents is missing. 11 12 * Source/cmake/OptionsGTK.cmake: 13 * Source/cmake/OptionsWPE.cmake: 14 1 15 2019-11-12 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 16 -
trunk/LayoutTests/ChangeLog
r252363 r252366 1 2019-11-12 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK][WPE] Support Pointer Events 4 https://bugs.webkit.org/show_bug.cgi?id=202789 5 6 Reviewed by Carlos Garcia Campos. 7 8 Add test expectations for GTK/WPE. 9 10 * platform/gtk/TestExpectations: 11 * platform/gtk/imported/w3c/web-platform-tests/pointerevents/extension/pointerevent_touch-action-verification-expected.txt: Removed. 12 Now it passes with the general expectation. 13 * platform/gtk/imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-verification-expected.txt: Removed. 14 Now it passes with the general expectation. 15 * platform/wpe/TestExpectations: Update also bug number for PointerLock. 16 1 17 2019-11-12 Rob Buis <rbuis@igalia.com> 2 18 -
trunk/LayoutTests/imported/w3c/ChangeLog
r252363 r252366 1 2019-11-12 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK][WPE] Support Pointer Events 4 https://bugs.webkit.org/show_bug.cgi?id=202789 5 6 Reviewed by Carlos Garcia Campos. 7 8 * web-platform-tests/resources/testdriver-vendor.js: 9 The fix for iOS added in r245639 triggers a call to sendEventStream in 10 UIScriptController that crashes on GTK because that function is only 11 implemented for iOS. For Mac this was not an issue because the Mac port 12 doesn't enable TouchEvent support ("createTouch" in document). 13 However TouchEvent support is enabled for GTK. Fix this by only 14 trigerring the call to dispatchTouchActions when TouchEvent support 15 is enabled _and_ its iOS. 16 1 17 2019-11-12 Rob Buis <rbuis@igalia.com> 2 18 -
trunk/LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js
r251440 r252366 245 245 if (pointerType === "touch") 246 246 return dispatchTouchActions(pointerSource.actions); 247 if ( "createTouch" in document)247 if (testRunner.isIOSFamily && "createTouch" in document) 248 248 return dispatchTouchActions(pointerSource.actions, { insertPauseAfterPointerUp: true }); 249 249 if (pointerType === "mouse") -
trunk/LayoutTests/platform/gtk/TestExpectations
r252361 r252366 4012 4012 imported/w3c/web-platform-tests/css/css-values/ch-unit-012.html [ Pass ] 4013 4013 4014 # PointerEvents not enabled globally, but enabled for GTK (EXPERIMENTAL_FEATURES) 4015 pointerevents/mouse [ Pass ] 4016 imported/w3c/web-platform-tests/pointerevents [ Pass ] 4017 # PointerEvents currently only supports mouse on GTK (no Touch/Pen support) 4018 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_change-touch-action-onpointerdown_touch.html [ Skip ] 4019 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointercancel_touch.html [ Skip ] 4020 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerleave_after_pointercancel_touch.html [ Skip ] 4021 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerout_after_pointercancel_touch.html [ Skip ] 4022 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_releasepointercapture_onpointercancel_touch.html [ Skip ] 4023 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-auto-css_touch.html [ Skip ] 4024 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-inherit_highest-parent-none_touch.html [ Skip ] 4025 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-pan-x-pan-y_touch.html [ Skip ] 4026 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerout_pen.html [ Skip ] 4027 4014 4028 #//////////////////////////////////////////////////////////////////////////////////////// 4015 4029 # End of PASSING tests. See top of file where to put new expectations. -
trunk/LayoutTests/platform/wpe/TestExpectations
r252361 r252366 381 381 fast/dom/Window/Plug-ins.html [ Failure ] 382 382 383 webkit.org/b/99036 pointer-lock/ [ Skip ] 384 webkit.org/b/99036 fast/shadow-dom/pointerlockelement-in-shadow-tree.html [ Skip ] 385 webkit.org/b/99036 fast/shadow-dom/pointerlockelement-in-slot.html [ Skip ] 383 # Pointer Lock API not implemented 384 webkit.org/b/204001 pointer-lock/ [ Skip ] 385 webkit.org/b/204001 fast/shadow-dom/pointerlockelement-in-shadow-tree.html [ Skip ] 386 webkit.org/b/204001 fast/shadow-dom/pointerlockelement-in-slot.html [ Skip ] 387 webkit.org/b/204001 imported/w3c/web-platform-tests/pointerevents/pointerlock/pointerevent_coordinates_when_locked.html [ Skip ] 386 388 387 389 webkit.org/b/153833 fast/shadow-dom/touch-event-ios.html [ Skip ] … … 751 753 imported/w3c/web-platform-tests/css/css-values/ch-unit-011.html [ Pass ] 752 754 imported/w3c/web-platform-tests/css/css-values/ch-unit-012.html [ Pass ] 755 756 # PointerEvents not enabled globally, but enabled for WPE (EXPERIMENTAL_FEATURES) 757 pointerevents/mouse [ Pass ] 758 imported/w3c/web-platform-tests/pointerevents [ Pass ] 759 # PointerEvents currently only supports mouse on WPE (no Touch/Pen support) 760 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_change-touch-action-onpointerdown_touch.html [ Skip ] 761 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointercancel_touch.html [ Skip ] 762 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerleave_after_pointercancel_touch.html [ Skip ] 763 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerout_after_pointercancel_touch.html [ Skip ] 764 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_releasepointercapture_onpointercancel_touch.html [ Skip ] 765 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-auto-css_touch.html [ Skip ] 766 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-inherit_highest-parent-none_touch.html [ Skip ] 767 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_touch-action-pan-x-pan-y_touch.html [ Skip ] 768 webkit.org/b/204115 imported/w3c/web-platform-tests/pointerevents/pointerevent_pointerout_pen.html [ Skip ] 753 769 754 770 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/Source/WebKit/ChangeLog
r252364 r252366 1 2019-11-12 Carlos Alberto Lopez Perez <clopez@igalia.com> 2 3 [GTK][WPE] Support Pointer Events 4 https://bugs.webkit.org/show_bug.cgi?id=202789 5 6 Reviewed by Carlos Garcia Campos. 7 8 Covered by existing tests. 9 10 * UIProcess/PageClient.h: Add a ifdef for platform COCOA on two 11 function declarations that depend on the UIGestureRecognizer ObjC type. 12 This is not needed for GTK/WPE code. 13 1 14 2019-11-12 Alex Christensen <achristensen@webkit.org> 2 15 -
trunk/Source/WebKit/UIProcess/PageClient.h
r250780 r252366 503 503 #endif 504 504 505 #if ENABLE(POINTER_EVENTS) 505 #if ENABLE(POINTER_EVENTS) && PLATFORM(COCOA) 506 506 virtual void cancelPointersForGestureRecognizer(UIGestureRecognizer*) { } 507 507 virtual WTF::Optional<unsigned> activeTouchIdentifierForGestureRecognizer(UIGestureRecognizer*) { return WTF::nullopt; } -
trunk/Source/cmake/OptionsGTK.cmake
r252361 r252366 167 167 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_PAINTING_API PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 168 168 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_TYPED_OM PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 169 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_POINTER_EVENTS PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 169 170 170 171 include(GStreamerDependencies) -
trunk/Source/cmake/OptionsWPE.cmake
r252361 r252366 63 63 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_PAINTING_API PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 64 64 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_TYPED_OM PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 65 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_POINTER_EVENTS PRIVATE ${ENABLE_EXPERIMENTAL_FEATURES}) 65 66 66 67 # Public options specific to the WPE port. Do not add any options here unless
Note:
See TracChangeset
for help on using the changeset viewer.