This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
pointerevents
/
ios
/
pointer-events-dispatch-on-...
4 lines
61 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
PointerEvents should not require touch event listeners to be registered https://bugs.webkit.org/show_bug.cgi?id=191333 <rdar://problem/45857523> Reviewed by Dean Jackson. Source/WebCore: Tests: pointerevents/ios/pointer-events-dispatch-on-touch.html pointerevents/ios/pointer-events-prevent-default.html * dom/EventNames.h: (WebCore::EventNames::isTouchEventType const): (WebCore::EventNames::touchAndPointerEventNames const): (WebCore::EventNames::touchEventNames const): Deleted. * dom/Node.cpp: (WebCore::Node::moveNodeToNewDocument): Source/WebKit: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::updateTouchEventTracking): (WebKit::WebPageProxy::touchEventTrackingType const): (WebKit::WebPageProxy::handleTouchEventSynchronously): (WebKit::WebPageProxy::handleTouchEventAsynchronously): (WebKit::WebPageProxy::handleTouchEvent): (WebKit::WebPageProxy::resetState): * UIProcess/WebPageProxy.h: LayoutTests: Add two iOS tests that check that we dispatch pointer events when only those events are registered and that we correctly account for calls to preventDefault(). To support pointer events test, we add a new utility where we will be adding user interaction functions that should allow these tests to be submitted to the WPT repository provided browsers implement their own versions of the UIController. * TestExpectations: * pointerevents/ios/pointer-events-dispatch-on-touch-expected.txt: Added. * pointerevents/ios/pointer-events-dispatch-on-touch.html: Added. * pointerevents/ios/pointer-events-prevent-default-expected.txt: Added. * pointerevents/ios/pointer-events-prevent-default.html: Added. * pointerevents/utils.js: Added. Canonical link: https://commits.webkit.org/206469@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-11-16 09:09:34 +00:00
Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) https://bugs.webkit.org/show_bug.cgi?id=217016 Reviewed by Zalan Bujtas. Done with this command: find LayoutTests -name '*-expected.txt' | grep -v imported | xargs awk '/^CONSOLE MESSAGE:/ { next }; /^<\?xml/ { nextfile }; { print FILENAME; nextfile }' | xargs perl -i -pe 's/ +$//g' This affects many files, and it's not helpful to clog the change log with a list of them. Canonical link: https://commits.webkit.org/229803@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@267644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-09-27 02:15:19 +00:00
PASS Pointer events get dispatched in response to a touch.
PointerEvents should not require touch event listeners to be registered https://bugs.webkit.org/show_bug.cgi?id=191333 <rdar://problem/45857523> Reviewed by Dean Jackson. Source/WebCore: Tests: pointerevents/ios/pointer-events-dispatch-on-touch.html pointerevents/ios/pointer-events-prevent-default.html * dom/EventNames.h: (WebCore::EventNames::isTouchEventType const): (WebCore::EventNames::touchAndPointerEventNames const): (WebCore::EventNames::touchEventNames const): Deleted. * dom/Node.cpp: (WebCore::Node::moveNodeToNewDocument): Source/WebKit: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::updateTouchEventTracking): (WebKit::WebPageProxy::touchEventTrackingType const): (WebKit::WebPageProxy::handleTouchEventSynchronously): (WebKit::WebPageProxy::handleTouchEventAsynchronously): (WebKit::WebPageProxy::handleTouchEvent): (WebKit::WebPageProxy::resetState): * UIProcess/WebPageProxy.h: LayoutTests: Add two iOS tests that check that we dispatch pointer events when only those events are registered and that we correctly account for calls to preventDefault(). To support pointer events test, we add a new utility where we will be adding user interaction functions that should allow these tests to be submitted to the WPT repository provided browsers implement their own versions of the UIController. * TestExpectations: * pointerevents/ios/pointer-events-dispatch-on-touch-expected.txt: Added. * pointerevents/ios/pointer-events-dispatch-on-touch.html: Added. * pointerevents/ios/pointer-events-prevent-default-expected.txt: Added. * pointerevents/ios/pointer-events-prevent-default.html: Added. * pointerevents/utils.js: Added. Canonical link: https://commits.webkit.org/206469@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-11-16 09:09:34 +00:00