mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1152888, [e10s] After opening the web page in new tab, drag and drop onto the contents area is not working, r=enndeakin
This commit is contained in:
parent
ecd0fc423c
commit
61e2469213
@ -1252,6 +1252,11 @@
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// No need to handle "dragover" in e10s, since nsDocShellTreeOwner.cpp in the child process
|
||||||
|
// handles that case using "@mozilla.org/content/dropped-link-handler;1" service.
|
||||||
|
if (this.isRemoteBrowser)
|
||||||
|
return;
|
||||||
|
|
||||||
let linkHandler = Components.classes["@mozilla.org/content/dropped-link-handler;1"].
|
let linkHandler = Components.classes["@mozilla.org/content/dropped-link-handler;1"].
|
||||||
getService(Components.interfaces.nsIDroppedLinkHandler);
|
getService(Components.interfaces.nsIDroppedLinkHandler);
|
||||||
if (linkHandler.canDropLink(event, false))
|
if (linkHandler.canDropLink(event, false))
|
||||||
|
Loading…
Reference in New Issue
Block a user