summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/uievents/legacy-domevents-tests/submissions/Microsoft/abort.testresult.html
blob: e0f6243b8acf5de965ab53fefa1c56f9293abb12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>
    <body>
        <h4>
            Test Description:
            The abort event fires when the loading of a resource has been aborted.
        </h4>

        <h3><a id="link" href="abort.img.html">Click here to go back to the test page</a></h3>

        <p>Test passes if the word "PASS" appears below.</p>
           <div>Test result: </div>
        <div id='testresult'>
            <script>
                try
                {
                    var result = window.localStorage.getItem("TestResult");
                }
                catch(ex)
                {
                }
                if ("PASS" != result)
                {
                    result = "FAIL";
                }
                document.write(result);
            </script>
        </div>
    </body>
</html>