[Webkit-unassigned] [Bug 213306] WIP: we should be able to capture mouse, keyboard, and wheel events to investigate tracking

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 19 15:16:04 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=213306

--- Comment #11 from Elena <elucherini at apple.com> ---
(In reply to Chris Dumez from comment #10)
> Comment on attachment 402302 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=402302&action=review
> 
> > Source/WebKit/WebProcess/WebCoreSupport/WebResourceLoadObserver.cpp:422
> > +    WTFLogAlways("Mouse event at x=%d, y=%d, type %d, button %d, clickcount %d, force %f", platformMouseEvent.position().x(), platformMouseEvent.position().y(), platformMouseEvent.type(), platformMouseEvent.button(), platformMouseEvent.clickCount(), platformMouseEvent.force());
> 
> Doesn't this generate a LOT of logging whenever I move the mouse on the view?

It does. My goal would be to study mouse movement patterns here. This being said, before landing this, I would put the code behind the WEB_API_STATISTICS flag (https://bugs.webkit.org/show_bug.cgi?id=213319) so it logs the events only if enabled at runtime.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200619/9be82d75/attachment-0001.htm>


More information about the webkit-unassigned mailing list