content/base/test/test_bug371576-4.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/test/test_bug371576-4.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<html>
     1.5 +<!--
     1.6 +https://bugzilla.mozilla.org/show_bug.cgi?id=371576
     1.7 +-->
     1.8 +<head>
     1.9 +  <title>Test2 for Bug 371576</title>
    1.10 +  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>        
    1.11 +  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
    1.12 +
    1.13 +<script>
    1.14 +
    1.15 +var _bShouldbeThere = false;
    1.16 +var oScript = document.createElement('script');
    1.17 +oScript.innerHTML = '_bShouldbeThere = true';
    1.18 +document.getElementsByTagName('head')[0].appendChild(oScript);
    1.19 +ok(_bShouldbeThere,"_bShouldbeThere is true, script has executed on time");
    1.20 +
    1.21 +</script>
    1.22 +
    1.23 +</head>
    1.24 +</html>

mercurial