blob: 878676f85425ce9e43f33fcbcefcb8a70ea21037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=371576
-->
<head>
<title>Test2 for Bug 371576</title>
<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>
|