Changeset 243677 in webkit
- Timestamp:
- Mar 30, 2019, 6:47:42 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/events/touch/ios/content-observation/hover-while-loading-subframe-expected.txt (added)
-
LayoutTests/fast/events/touch/ios/content-observation/hover-while-loading-subframe.html (added)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r243674 r243677 1 2019-03-30 Zalan Bujtas <zalan@apple.com> 2 3 [ContentChangeObserver] Subframe load should not reset content observation on the mainframe 4 https://bugs.webkit.org/show_bug.cgi?id=196408 5 <rdar://problem/49436797> 6 7 Reviewed by Simon Fraser. 8 9 * fast/events/touch/ios/content-observation/hover-while-loading-subframe-expected.txt: Added. 10 * fast/events/touch/ios/content-observation/hover-while-loading-subframe.html: Added. 11 1 12 2019-03-30 Antti Koivisto <antti@apple.com> 2 13 -
trunk/Source/WebKit/ChangeLog
r243671 r243677 1 2019-03-30 Zalan Bujtas <zalan@apple.com> 2 3 [ContentChangeObserver] Subframe load should not reset content observation on the mainframe 4 https://bugs.webkit.org/show_bug.cgi?id=196408 5 <rdar://problem/49436797> 6 7 Reviewed by Simon Fraser. 8 9 Hover intent fails when an unrelated frame commits a load the same time. 10 cancelPotentialTapInFrame is called from didCommitLoad, but what we are looking for here is the user initiated cancel of a tap (cancelPotentialTap). 11 (If the current frame navigates away, willDetachPage takes care of canceling the observation.) 12 13 * WebProcess/WebPage/ios/WebPageIOS.mm: 14 (WebKit::WebPage::cancelPotentialTap): 15 (WebKit::WebPage::cancelPotentialTapInFrame): 16 1 17 2019-03-29 John Wilander <wilander@apple.com> 2 18 -
trunk/Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm
r243557 r243677 911 911 void WebPage::cancelPotentialTap() 912 912 { 913 if (m_potentialTapNode) 914 m_potentialTapNode->document().contentChangeObserver().willNotProceedWithClick(); 913 915 cancelPotentialTapInFrame(*m_mainFrame); 914 916 } … … 917 919 { 918 920 if (m_potentialTapNode) { 919 m_potentialTapNode->document().contentChangeObserver().willNotProceedWithClick();920 921 auto* potentialTapFrame = m_potentialTapNode->document().frame(); 921 922 if (potentialTapFrame && !potentialTapFrame->tree().isDescendantOf(frame.coreFrame()))
Note:
See TracChangeset
for help on using the changeset viewer.