Bug 1137603 - WebRTC sharing notifications fail to open from the global indicator when the Hello window has been detached, r=mixedpuppy.
authorFlorian Quèze <florian@queze.net>
Thu, 09 Apr 2015 12:27:36 +0200
changeset 238236 d9fca27fc251ff1aff9e8fbe2fbf383c33e60168
parent 238235 fc26d177eb06d433691b0f8f3e6759f9b5af080a
child 238237 821e8ecf946f42127cf07477b802859919d4439e
push id12279
push userflorian@queze.net
push dateThu, 09 Apr 2015 10:31:12 +0000
treeherderfx-team@821e8ecf946f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmixedpuppy
bugs1137603
milestone40.0a1
Bug 1137603 - WebRTC sharing notifications fail to open from the global indicator when the Hello window has been detached, r=mixedpuppy.
browser/base/content/socialchat.xml
--- a/browser/base/content/socialchat.xml
+++ b/browser/base/content/socialchat.xml
@@ -165,17 +165,17 @@
         <parameter name="aTarget"/>
         <body><![CDATA[
           aTarget.setAttribute("label", this.contentDocument.title);
           if (this.getAttribute("dark") == "true")
             aTarget.setAttribute("dark", "true");
           aTarget.src = this.src;
           aTarget.content.setAttribute("origin", this.content.getAttribute("origin"));
           aTarget.content.popupnotificationanchor.className = this.content.popupnotificationanchor.className;
-          this.content.swapDocShells(aTarget.content);
+          aTarget.content.swapDocShells(this.content);
         ]]></body>
       </method>
 
       <method name="onTitlebarClick">
         <parameter name="aEvent"/>
         <body><![CDATA[
           if (!this.chatbar)
             return;