Bug 1441613: Fixup crashtest so that it actually removes the reftest-wait class. r=me on a CLOSED TREE

MozReview-Commit-ID: AtiurGZd5xR
This commit is contained in:
Emilio Cobos Álvarez 2018-03-01 00:48:52 +01:00
parent def3549f1a
commit 43bc808859

View File

@ -9,8 +9,11 @@ iframe.onload = function() {
let ctx = canvas.getContext('2d');
document.body.offsetTop;
iframe.style.display = 'none';
ctx.font = '10px serif';
document.documentElement.className = "";
try {
ctx.font = '10px serif';
} finally {
document.documentElement.className = "";
}
};
</script>
</html>