summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/navigation-timing/resources/blank_page_unload.html
blob: bb2a27f168ef7e45ae3f723017b3676a94690e85 (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
<!DOCTYPE HTML>
<html>
    <head>
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />

        <title>Yellow Test Page</title>

        <script type="text/javascript">
            function onbeforeunload_handler()
            {
                var temp = "onbeforeunload";
            }

            function onunload_handler()
            {
                var temp = "onunload";
            }
        </script>
    </head>
    <body onbeforeunload="onbeforeunload_handler();"
          onunload="onunload_handler();"
          style="background-color:#FFFF00;">
        <h1>Unload</h1>
    </body>
</html>