<html>
<head>
        <script>
            var secretness = 0;
        </script>
        <script src="file:///tmp/LayoutTests/http/tests/security/resources/localScript.js"/>
        <script>
            function test() {
                if (window.layoutTestController)
                    layoutTestController.dumpAsText();

                    var tag = document.getElementById("result");
                    if (secretness == 13)
                        tag.innerHTML = "Test Passed.";
                    else
                        tag.innerHTML = "Test Failed: Local script not run by local file.";
            }
        </script>
</head>
<body onload="test()">
    <div id="div0">
        This test is to see if a local file can run a local script.
    </div>
    </br>
    <div id="result">
        Test not run correctly.
    </div>
</body>
</html>

<html>
<head>
        <script>
            var secretness = 0;
        </script>
        <script src="file:///tmp/LayoutTests/http/tests/security/resources/localScript.js"></script>
        <script>
            function test() {
                if (window.layoutTestController)
                    layoutTestController.dumpAsText();

                    var tag = document.getElementById("result");
                    if (secretness == 13)
                        tag.innerHTML = "Test Passed.";
                    else
                        tag.innerHTML = "Test Failed: Local script not run by local file.";
            }
        </script>
</head>
<body onload="test()">
    <div id="div0">
        This test is to see if a local file can run a local script.
    </div>
    </br>
    <div id="result">
        Test not run correctly.
    </div>
</body>
</html>

Fix more malformed test cases.
Fix more malformed test cases.

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@21592 bbb929c8-8fbe-4397-9dbb-9b2b20218538