| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <meta charset="UTF-8" /> | |
| 5 <title>window.performance User Timing exists</title> | |
| 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/"/
> | |
| 8 <script src="/w3c/resources/testharness.js"></script> | |
| 9 <script src="/w3c/resources/testharnessreport.js"></script> | |
| 10 <script src="/w3c/webperf/resources/webperftestharness.js"></script> | |
| 11 | |
| 12 </head> | |
| 13 <body> | |
| 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> | |
| 16 | |
| 17 <div id="log"></div> | |
| 18 | |
| 19 <script> | |
| 20 test_namespace(); | |
| 21 | |
| 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."); | |
| 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."); | |
| 26 </script> | |
| 27 </body> | |
| 28 </html> | |
| OLD | NEW |