Backed out changeset f069f3c69597 (bug 1394580)
authorSebastian Hengst <archaeopteryx@coole-files.de>
Tue, 05 Sep 2017 21:51:07 +0200
changeset 378997 52b106ba3e95059cba7da9c22b3165753d40b3ae
parent 378996 5d320d8864e90aa9684462251fee5b60f055ea9b
child 378998 96b5a734399c5f5b4ba228cb2b48c4c8f8a6ba18
push id50469
push userarchaeopteryx@coole-files.de
push dateTue, 05 Sep 2017 19:53:40 +0000
treeherderautoland@5f721a664bf6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1394580
milestone57.0a1
backs outf069f3c695977904c4b2dda44a5218efe17d28b5
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset f069f3c69597 (bug 1394580)
mobile/android/components/geckoview/GeckoViewPrompt.js
--- a/mobile/android/components/geckoview/GeckoViewPrompt.js
+++ b/mobile/android/components/geckoview/GeckoViewPrompt.js
@@ -364,17 +364,17 @@ function PromptDelegate(aDomWin) {
   if (!aDomWin) {
     return;
   }
   let gvWin = aDomWin.QueryInterface(Ci.nsIInterfaceRequestor)
                      .getInterface(Ci.nsIDocShell).QueryInterface(Ci.nsIDocShellTreeItem)
                      .rootTreeItem.QueryInterface(Ci.nsIInterfaceRequestor)
                      .getInterface(Ci.nsIDOMWindow);
   try {
-    this._dispatcher = gvWin.WindowEventDispatcher || EventDispatcher.for(gvWin);
+    this._dispatcher = EventDispatcher.for(gvWin);
   } catch (e) {
     // Use global dispatcher.
   }
 }
 
 PromptDelegate.prototype = {
   QueryInterface: XPCOMUtils.generateQI([Ci.nsIPrompt]),