modal.html: use `textContent` (#32101)

We are not handling any HTML
This commit is contained in:
XhmikosR 2020-11-09 20:47:33 +02:00 committed by GitHub
parent 1d86fcee7b
commit 411fc649f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@
function reportFirefoxTestResult(result) {
if (!firefoxTestDone) {
ffBugTestResult.classList.add(result ? 'text-success' : 'text-danger')
ffBugTestResult.innerHTML = result ? 'PASS' : 'FAIL'
ffBugTestResult.textContent = result ? 'PASS' : 'FAIL'
}
}