| 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 User Timing exists</title> | 5 <title>window.performance User Timing exists</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://127.0.0.1:8000/webperf/specs/UserTiming/"/
> | 7 <link rel="help" href="http://www.w3.org/TR/user-timing/"/> |
| 8 <script src="/w3c/resources/testharness.js"></script> | 8 <script src="../../../resources/testharness.js"></script> |
| 9 <script src="/w3c/resources/testharnessreport.js"></script> | 9 <script src="../../../resources/testharnessreport.js"></script> |
| 10 <script src="/w3c/webperf/resources/webperftestharness.js"></script> | 10 <script src="resources/webperftestharness.js"></script> |
| 11 | 11 |
| 12 </head> | 12 </head> |
| 13 <body> | 13 <body> |
| 14 <h1>Description</h1> | 14 <h1>Description</h1> |
| 15 <p>This test validates that all of the methods used to interact with the
User Timing API are defined.</p> | 15 <p>This test validates that all of the methods used to interact with the
User Timing API are defined.</p> |
| 16 | 16 |
| 17 <div id="log"></div> | 17 <div id="log"></div> |
| 18 | 18 |
| 19 <script> | 19 <script> |
| 20 test_namespace(); | 20 test_namespace(); |
| 21 | 21 |
| 22 test_true(window.performance.mark !== undefined, "window.performance.mar
k is defined."); | 22 test_true(window.performance.mark !== undefined, "window.performance.mar
k is defined."); |
| 23 test_true(window.performance.clearMarks !== undefined, "window.performan
ce.clearMarks is defined."); | 23 test_true(window.performance.clearMarks !== undefined, "window.performan
ce.clearMarks is defined."); |
| 24 test_true(window.performance.measure !== undefined, "window.performance.
measure is defined."); | 24 test_true(window.performance.measure !== undefined, "window.performance.
measure is defined."); |
| 25 test_true(window.performance.clearMeasures !== undefined, "window.perfor
mance.clearMeasures is defined."); | 25 test_true(window.performance.clearMeasures !== undefined, "window.perfor
mance.clearMeasures is defined."); |
| 26 </script> | 26 </script> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |