pjs/content/base/test/test_bug371576-4.html

23 строки
652 B
HTML
Исходник Обычный вид История

2007-03-02 02:40:25 +03:00
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=371576
-->
<head>
<title>Test2 for Bug 371576</title>
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<script>
var _bShouldbeThere = false;
var oScript = document.createElement('script');
oScript.innerHTML = '_bShouldbeThere = true';
document.getElementsByTagName('head')[0].appendChild(oScript);
ok(_bShouldbeThere,"_bShouldbeThere is true, script has executed on time");
</script>
</head>
</html>