OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8" /> | 4 <meta charset="utf-8" /> |
5 <title>window.performance attributes</title> | 5 <title>window.performance attributes</title> |
6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 6 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-windo
w.performance-attribute"/> | 7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-windo
w.performance-attribute"/> |
8 <script src="/resources/testharness.js"></script> | 8 <script src="/resources/testharness.js"></script> |
9 <script src="/resources/testharnessreport.js"></script> | 9 <script src="/resources/testharnessreport.js"></script> |
| 10 <script src="/common/performance-timeline-utils.js"></script> |
10 <script src="resources/webperftestharness.js"></script> | 11 <script src="resources/webperftestharness.js"></script> |
11 </head> | 12 </head> |
12 <body> | 13 <body> |
13 <h1>Description</h1> | 14 <h1>Description</h1> |
14 <p>This test validates that the navigation and timing attributes exist f
or window.performance | 15 <p>This test validates that the navigation and timing attributes exist f
or window.performance |
15 (but does not validate that their values are correct).</p> | 16 (but does not validate that their values are correct).</p> |
16 <div id="log"></div> | 17 <div id="log"></div> |
17 <script> | 18 <script> |
18 test_namespace('navigation'); | 19 test_namespace('navigation'); |
19 test_namespace('timing', true); | 20 test_namespace('timing', true); |
20 </script> | 21 </script> |
21 </body> | 22 </body> |
22 </html> | 23 </html> |
OLD | NEW |