bug 419132 - mochikit test by Martijn Wargers.

This commit is contained in:
Bob Clary 2009-04-24 10:08:22 -07:00
Родитель aa1a7fb4c0
Коммит 476a9f47e5
3 изменённых файлов: 70 добавлений и 0 удалений

Просмотреть файл

@ -139,6 +139,8 @@ _TEST_FILES = test_bug5141.html \
test_bug395915.html \
test_bug397234.html \
test_bug398243.html \
test_bug419132.html \
bug419132.html \
formReset.html \
bug382113_object.html \
test_bug326337.html \

Просмотреть файл

@ -0,0 +1,30 @@
<html><head>
<script>
function doe() {
window.location.reload();
}
setTimeout(doe, 400);
</script>
</head><body>
<span>
<span id="a" tabindex="1">
<span>
<select>
<script>
document.getElementById('a').focus();
</script>
</select>
<style>
#a:focus { float:right;}
body *:first-child {-moz-binding:url(data:text/xml;charset=utf-8,%3Cbindings%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22%3E%0A%3Cbinding%20id%3D%22a%22%20inheritstyle%3D%22false%22%3E%0A%3Ccontent%3E%0A%3Cchildren/%3E%0A%3Cinput%20xmlns%3D%22http%3A//www.w3.org/1999/xhtml%22%20style%3D%22display%3A%20table%3B%20overflow%3A%20hidden%3B%22%20/%3E%0A%3C/content%3E%0A%3C/binding%3E%0A%3C/bindings%3E);
</style>
</span>
</span>
</span>
</body>
</html>

Просмотреть файл

@ -0,0 +1,38 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=419132
-->
<head>
<title>Test for Bug 419132</title>
<script type="application/javascript" src="/MochiKit/MochiKit.js"></script>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=419132">Mozilla Bug 419132</a>
<p id="display"></p>
<div id="content" style="display: none">
</div>
<iframe src="bug419132.html"></iframe>
<pre id="test">
<script type="application/javascript">
/** Test for Bug 419132 **/
SimpleTest.waitForExplicitFinish();
setTimeout(finish, 60000)
function finish()
{
ok(true, "This is a mochikit version of a crash test. To complete is to pass.");
SimpleTest.finish();
}
</script>
</pre>
</body>
</html>