Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws.

This commit is contained in:
Florian Quèze
2017-03-08 10:17:52 +01:00
parent a97d317f5b
commit b15de4893d
125 changed files with 185 additions and 170 deletions

View File

@@ -156,7 +156,7 @@ exports.items = [
onback: () => {
// The back button clears and hides .csscoverage-report
while (host.hasChildNodes()) {
host.removeChild(host.firstChild);
host.firstChild.remove();
}
host.hidden = true;
}