https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 7cb0d28a36927eb21b7984a80c6629969634a1e2 authored by moz-wptsync-bot on 13 March 2018, 19:13:50 UTC
Performance.measure(name) should not throw if name is one of the readonly attribute of the Performance interface,
Tip revision: 7cb0d28
blank_page_unload.html
<!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>
back to top