New issue
Advanced search Search tips

Issue 624804 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

Blink should be able to handle the case when |force| in PlatformTouchPoint is set to NaN

Project Member Reported by mfomitchev@chromium.org, Jun 30 2016

Issue description

Currently point.force() is called from 

PointerEventFactory::create():
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/events/PointerEventFactory.cpp?q=PointerEventFactory::create&sq=package:chromium&dr=CSs&l=180

as well as from  TouchEventManager::dispatchTouchEvents():
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/input/TouchEventManager.cpp?dr=CSs&q=TouchEventManager::dispatchTouchEvents()&sq=package:chromium&l=136

This trips over the ASSERT in PlatformTouchPoint.force() when force is set to NaN. This can be observed when running chrome with --touch-devices flag on Ozone without crrev.com/2103823003.
 
Labels: Hotlist-Input-Dev

Sign in to add a comment