зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1257790 - Don't propagate dragstart for mouse events originating in remote browsers. r=felipe
This commit is contained in:
Родитель
6d519efcb6
Коммит
f848e29c72
|
@ -547,6 +547,16 @@
|
|||
</body>
|
||||
</method>
|
||||
</implementation>
|
||||
<handlers>
|
||||
<handler event="dragstart">
|
||||
<![CDATA[
|
||||
// If we're a remote browser dealing with a dragstart, stop it
|
||||
// from propagating up, since our content process should be dealing
|
||||
// with the mouse movement.
|
||||
event.stopPropagation();
|
||||
]]>
|
||||
</handler>
|
||||
</handlers>
|
||||
|
||||
</binding>
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче