Web Inspector: Do not dispatch mousemove when emulating touch event and no touch is active
https://bugs.webkit.org/show_bug.cgi?id=107419

Reviewed by Pavel Feldman.

Source/WebCore:

mousemove event should not be dispatched when emulating touch events and mouse button is not pressed

* page/EventHandler.cpp:
(WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled):

LayoutTests:

* fast/events/touch/emulate-touch-events.html: Test that mousemove is dispatched not more than once
  and reset the touch event emulation flag in window.internals.settings upon test completion.
* fast/events/touch/emulated-touch-iframe.html:
  Reset the touch event emulation flag in window.internals.settings upon test completion.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140321 268f45cc-cd09-0410-ab3c-d52691b4dbfc