From 8e9367c0cf5a0bfa6c1693480abe7ffa7a7e99e7 Mon Sep 17 00:00:00 2001 From: Mark Banner Date: Fri, 11 Sep 2015 17:14:39 +0100 Subject: [PATCH] Bug 1169632 - Loop conversation name vanishes if the window is detached by dragging. Don't try to set the title in the wrong place - let the detachChatbox code set the title. r=mixedpuppy --- browser/base/content/socialchat.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/browser/base/content/socialchat.xml b/browser/base/content/socialchat.xml index e82cdba9c49f..4746b939e740 100644 --- a/browser/base/content/socialchat.xml +++ b/browser/base/content/socialchat.xml @@ -805,12 +805,7 @@ let top = Math.min(Math.max(eY, sY.value), sY.value + sHeight.value - winHeight); - let title = draggedChat.content.getAttribute("title"); - this.detachChatbox(draggedChat, { screenX: left, screenY: top }).then( - chatbox => { - chatbox.contentWindow.document.title = title; - } - ); + this.detachChatbox(draggedChat, { screenX: left, screenY: top }); event.stopPropagation(); ]]>