Bug 803473 - Wait for MozReftestInvalidate to fix orange. r=roc

This commit is contained in:
Mats Palmgren 2012-10-22 15:53:31 +02:00
parent 3b1169b70e
commit 7b3b6022db

View File

@ -1,6 +1,14 @@
<!DOCTYPE HTML>
<html>
<html class="reftest-wait">
<body>
<embed type="application/x-test" style="width:200px; height:400px;"></embed>
<embed type="application/x-test" id="p"
style="width:200px; height:400px;"></embed>
<script>
var p = document.getElementById("p");
function doTest() {
document.documentElement.removeAttribute("class");
}
window.addEventListener("MozReftestInvalidate", doTest, false);
</script>
</body>
</html>