https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 511031aa125539d41ff9cd99f89907fd4a2bf906 authored by Luke Bjerring on 03 April 2018, 14:27:59 UTC
Throw IdlHarnessError outside try
Tip revision: 511031a
test_performance_attributes_exist.html
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>window.performance attributes</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-window.performance-attribute"/>
        <script src="/resources/testharness.js"></script>
        <script src="/resources/testharnessreport.js"></script>
        <script src="/common/performance-timeline-utils.js"></script>
        <script src="resources/webperftestharness.js"></script>
    </head>
    <body>
        <h1>Description</h1>
        <p>This test validates that the navigation and timing attributes exist for window.performance
        (but does not validate that their values are correct).</p>
        <div id="log"></div>
        <script>
            test_namespace('navigation');
            test_namespace('timing', true);
        </script>
    </body>
</html>
back to top