Title: [246849] trunk/Source/WebCore
- Revision
- 246849
- Author
- [email protected]
- Date
- 2019-06-26 15:11:30 -0700 (Wed, 26 Jun 2019)
Log Message
[Pointer Events] Respect pointer capture when dispatching mouse boundary events and updating :hover
https://bugs.webkit.org/show_bug.cgi?id=198999
<rdar://problem/51979477>
Reviewed by Dean Jackson.
Make sure we don't return early prior to setting the flag that prevents re-entrancy, or else we would never
enter this function again. No new tests, this was caught because Pointer Events WPT tests on iOS tests regressed.
* page/PointerCaptureController.cpp:
(WebCore::PointerCaptureController::processPendingPointerCapture):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (246848 => 246849)
--- trunk/Source/WebCore/ChangeLog 2019-06-26 22:11:07 UTC (rev 246848)
+++ trunk/Source/WebCore/ChangeLog 2019-06-26 22:11:30 UTC (rev 246849)
@@ -1,3 +1,17 @@
+2019-06-26 Antoine Quint <[email protected]>
+
+ [Pointer Events] Respect pointer capture when dispatching mouse boundary events and updating :hover
+ https://bugs.webkit.org/show_bug.cgi?id=198999
+ <rdar://problem/51979477>
+
+ Reviewed by Dean Jackson.
+
+ Make sure we don't return early prior to setting the flag that prevents re-entrancy, or else we would never
+ enter this function again. No new tests, this was caught because Pointer Events WPT tests on iOS tests regressed.
+
+ * page/PointerCaptureController.cpp:
+ (WebCore::PointerCaptureController::processPendingPointerCapture):
+
2019-06-26 Myles C. Maxfield <[email protected]>
REGRESSION: ( r246394 ) webgpu/whlsl-buffer-fragment.html and webgpu/whlsl-buffer-vertex.html are failing
Modified: trunk/Source/WebCore/page/PointerCaptureController.cpp (246848 => 246849)
--- trunk/Source/WebCore/page/PointerCaptureController.cpp 2019-06-26 22:11:07 UTC (rev 246848)
+++ trunk/Source/WebCore/page/PointerCaptureController.cpp 2019-06-26 22:11:30 UTC (rev 246849)
@@ -409,15 +409,15 @@
void PointerCaptureController::processPendingPointerCapture(PointerID pointerId)
{
+ auto iterator = m_activePointerIdsToCapturingData.find(pointerId);
+ if (iterator == m_activePointerIdsToCapturingData.end())
+ return;
+
if (m_processingPendingPointerCapture)
return;
m_processingPendingPointerCapture = true;
- auto iterator = m_activePointerIdsToCapturingData.find(pointerId);
- if (iterator == m_activePointerIdsToCapturingData.end())
- return;
-
auto& capturingData = iterator->value;
// Cache the pending target override since it could be modified during the dispatch of events in this function.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes