mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-27 20:25:44 +00:00
0cb1771f10
the fix is to provide a way for the testcase to indicate when it's finished loading. Also move the reftest self-checks into their own manifest. r=dbaron
16 lines
455 B
XML
16 lines
455 B
XML
<?xml version="1.0"?>
|
|
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
id="main"
|
|
class="reftest-wait"
|
|
style="background-color: red;"
|
|
onload="HandleLoad()">
|
|
<script>
|
|
function HandleLoad() {
|
|
setTimeout(function() {
|
|
document.documentElement.style.backgroundColor = "green";
|
|
document.documentElement.className = "";
|
|
}, 100);
|
|
}
|
|
</script>
|
|
</window>
|