Bug 1660540 - make the chat logs work again. r=khushil

This commit is contained in:
Magnus Melin 2020-10-01 13:23:11 +03:00
Родитель bacbfdebb7
Коммит 7e2f73311d
1 изменённых файлов: 5 добавлений и 11 удалений

Просмотреть файл

@ -61,11 +61,6 @@
return;
}
if (!this._loadState) {
this._loadState = 1;
return;
}
if (this.currentURI.spec != "chrome://chat/content/conv.html") {
return;
}
@ -204,12 +199,15 @@
}
connectedCallback() {
if (this.hasConnected) {
return;
}
this.hasConnected = true;
super.connectedCallback();
this._theme = null;
this._loadState = 0;
this.autoCopyEnabled = false;
this.magicCopyPref =
@ -316,10 +314,6 @@
// Prevent ongoing asynchronous message display from continuing.
this._messageDisplayPending = false;
// _loadState is 0 while loading conv.html and 1 while
// loading the real conversation HTML.
this._loadState = 0;
this.docShell.charset = "UTF-8";
const URI = "chrome://chat/content/conv.html";
const loadURIOptions = {