mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 573524 - Try to run the test on load to see if it fixes the intermittent orange; r=ehsan a=test-only
This commit is contained in:
parent
26d1fb1d3e
commit
8bb5d45783
@ -20,6 +20,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=404320
|
||||
|
||||
/** Test for Bug 404320 **/
|
||||
|
||||
SimpleTest.waitForExplicitFinish();
|
||||
|
||||
var win = document.getElementById("testIframe").contentWindow;
|
||||
var doc = document.getElementById("testIframe").contentDocument;
|
||||
|
||||
@ -76,8 +78,13 @@ var badTags = [ "b",
|
||||
"span",
|
||||
"foo" ];
|
||||
|
||||
formatBlockTests(goodTags, true);
|
||||
formatBlockTests(badTags, false);
|
||||
function runTests() {
|
||||
formatBlockTests(goodTags, true);
|
||||
formatBlockTests(badTags, false);
|
||||
SimpleTest.finish();
|
||||
}
|
||||
|
||||
addLoadEvent(runTests);
|
||||
|
||||
</script>
|
||||
</pre>
|
||||
|
Loading…
Reference in New Issue
Block a user