зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1433708: Part 2 - Fix ExtensionsUI innerHTML sanitization. r=aswan
MozReview-Commit-ID: B8Lzqx56fBi --HG-- extra : rebase_source : 8a871ba1151cad23ae1d5bf80c118935443d8a96
This commit is contained in:
Родитель
fc5153a0b5
Коммит
952665bf09
|
@ -429,10 +429,10 @@ this.ExtensionsUI = {
|
|||
let doc = this.browser.ownerDocument;
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
doc.getElementById("addon-installed-notification-header")
|
||||
.innerHTML = msg1;
|
||||
.unsafeSetInnerHTML(msg1);
|
||||
// eslint-disable-next-line no-unsanitized/property
|
||||
doc.getElementById("addon-installed-notification-message")
|
||||
.innerHTML = msg2;
|
||||
.unsafeSetInnerHTML(msg2);
|
||||
} else if (topic == "dismissed") {
|
||||
resolve();
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче