Bug 107419

Summary: Web Inspector: Do not dispatch mousemove when emulating touch event and no touch is active
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, keishi, loislo, pfeldman, pmuellr, syoichi, vsevik, web-inspector-bugs, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 107431    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
For EWS
none
For EWS
none
Patch for landing none

Description Alexander Pavlov (apavlov) 2013-01-20 23:01:52 PST
If the point of emulate-touch-events is to let website developers verify their site works OK with a touchscreen, then it's important that we don't dispatch any mouse events.

At the moment it looks like we still get mousemove events when moving the mouse cursor (tested at http://www.rbyers.net/eventTest.html).  This can trigger, for example, hover menus that rely on mousemove/mouseover events, so may be impossible to trigger on a true touchscreen device, therefore leading a developer to think their site is fine when it's not.

Upstreaming https://code.google.com/p/chromium/issues/detail?id=168399
Comment 1 Alexander Pavlov (apavlov) 2013-01-20 23:15:50 PST
Created attachment 183717 [details]
Patch
Comment 2 WebKit Review Bot 2013-01-21 00:30:04 PST
Comment on attachment 183717 [details]
Patch

Rejecting attachment 183717 [details] from commit-queue.

New failing tests:
fast/forms/number/number-spinbutton-gets-disabled-or-readonly.html
fast/forms/range/slider-delete-while-dragging-thumb.html
fast/forms/datalist/update-range-with-datalist.html
fast/forms/month-multiple-fields/month-multiple-fields-spinbutton-change-and-input-events.html
fast/forms/number/number-spinbutton-in-multi-column.html
fast/forms/number/number-spinbutton-state.html
fast/forms/number/number-spinbutton-change-and-input-events.html
fast/forms/week-multiple-fields/week-multiple-fields-spinbutton-change-and-input-events.html
fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-mouse-events.html
fast/lists/drag-into-marker.html
fast/layers/no-clipping-overflow-hidden-added-after-transition.html
fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-click-in-iframe.html
fast/forms/date-multiple-fields/date-multiple-fields-spinbutton-change-and-input-events.html
fast/events/touch/gesture/gesture-dblclick.html
fast/forms/week-multiple-fields/week-multiple-fields-mouse-events.html
fast/forms/range/slider-mouse-events.html
fast/forms/month-multiple-fields/month-multiple-fields-mouse-events.html
fast/events/touch/emulate-touch-events.html
fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-spinbutton-change-and-input-events.html
fast/forms/number/number-spinbutton-click-in-iframe.html
fast/events/touch/page-scaled-touch-gesture-click.html
fast/forms/number/number-large-padding.html
fast/events/touch/gesture/gesture-click.html
fast/layers/no-clipping-overflow-hidden-added-after-transform.html
fast/forms/date-multiple-fields/date-multiple-fields-mouse-events.html
fast/forms/time-multiple-fields/time-multiple-fields-spinbutton-change-and-input-events.html
fast/loader/javascript-url-in-object.html
fast/forms/time-multiple-fields/time-multiple-fields-mouse-events.html
fast/forms/number/number-spinbutton-capturing.html
fast/layers/no-clipping-overflow-hidden-hardware-acceleration.html
Full output: http://queues.webkit.org/results/15978916
Comment 3 Alexander Pavlov (apavlov) 2013-01-21 00:51:26 PST
Committed r140311: <http://trac.webkit.org/changeset/140311>
Comment 4 WebKit Review Bot 2013-01-21 01:20:18 PST
Re-opened since this is blocked by bug 107431
Comment 5 Alexander Pavlov (apavlov) 2013-01-21 01:51:40 PST
Created attachment 183735 [details]
For EWS
Comment 6 Alexander Pavlov (apavlov) 2013-01-21 02:03:41 PST
Created attachment 183738 [details]
For EWS
Comment 7 Alexander Pavlov (apavlov) 2013-01-21 03:39:46 PST
Created attachment 183753 [details]
Patch for landing
Comment 8 WebKit Review Bot 2013-01-21 04:08:25 PST
Comment on attachment 183753 [details]
Patch for landing

Clearing flags on attachment: 183753

Committed r140321: <http://trac.webkit.org/changeset/140321>
Comment 9 WebKit Review Bot 2013-01-21 04:08:29 PST
All reviewed patches have been landed.  Closing bug.