diff options
author | XhmikosR <xhmikosr@gmail.com> | 2020-11-09 21:47:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 21:47:33 +0300 |
commit | 411fc649f236248244e19b49a1aeb43cc8ddfbca (patch) | |
tree | 9f0fc420b6589004d1ac581aecace20ab9cfea58 /js/tests/visual/modal.html | |
parent | 1d86fcee7b81bbae0b53b24e85847b3adfc3c57c (diff) |
modal.html: use `textContent` (#32101)
We are not handling any HTML
Diffstat (limited to 'js/tests/visual/modal.html')
-rw-r--r-- | js/tests/visual/modal.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html index 13e93d154f..3c1e37cfda 100644 --- a/js/tests/visual/modal.html +++ b/js/tests/visual/modal.html @@ -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' } } |