From 411fc649f236248244e19b49a1aeb43cc8ddfbca Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 9 Nov 2020 20:47:33 +0200 Subject: modal.html: use `textContent` (#32101) We are not handling any HTML --- js/tests/visual/modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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' } } -- cgit v1.2.3