mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
09a262787c
We are white-listing the existing set of tests that use setTimeout like this. Hopefully these tests will be investigated and fixed in the future, so that we can narrow down the white-list. This check is only turned on for mochitest-plain for now.
35 lines
846 B
HTML
35 lines
846 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=399951
|
|
-->
|
|
<head>
|
|
<title>Test for Bug 399951</title>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
</head>
|
|
<body style="direction: rtl" onload="document.body.style.direction = 'ltr';">
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=399951">Mozilla Bug 399951</a>
|
|
<div style="white-space: pre;">
|
|
.i
|
|
h
|
|
f
|
|
</div>
|
|
<pre id="test">
|
|
<script class="testbody" type="text/javascript">
|
|
function test()
|
|
{
|
|
/** Test for Bug 399951 **/
|
|
ok(true, "Should not crash");
|
|
SimpleTest.finish();
|
|
}
|
|
|
|
SimpleTest.requestFlakyTimeout("untriaged");
|
|
setTimeout(test, 500);
|
|
SimpleTest.waitForExplicitFinish();
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|
|
|