gecko/content/base/test/test_bug787778.html

26 lines
714 B
HTML
Raw Normal View History

2012-10-04 16:03:21 -07:00
<!DOCTYPE html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=787778
-->
<html>
<head>
<meta charset="utf-8">
<title>Test for Bug 787778</title>
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script type="text/javascript">
SimpleTest.waitForExplicitFinish();
window.onload = function() {
window.document.x.src='a';
SimpleTest.executeSoon(function () {
ok(true, "Didn't crash!");
SimpleTest.finish();
});
}
</script>
</head>
<body>
<embed name="x" src="./file_bug787778.sjs">
</body>
</html>