OLD | NEW |
1 | 1 |
2 <!DOCTYPE html> | 2 <!DOCTYPE html> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <meta charset="UTF-8" /> | 5 <meta charset="UTF-8" /> |
6 <title>window.performance User Timing clearMeasures() method is working
properly with navigation timing | 6 <title>window.performance User Timing clearMeasures() method is working
properly with navigation timing |
7 attributes</title> | 7 attributes</title> |
8 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> | 8 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> |
9 <link rel="help" href="https://w3c.github.io/user-timing/#dom-performanc
e-measure"/> | 9 <link rel="help" href="https://w3c.github.io/user-timing/#dom-performanc
e-measure"/> |
10 <script src="/resources/testharness.js"></script> | 10 <script src="/resources/testharness.js"></script> |
11 <script src="/resources/testharnessreport.js"></script> | 11 <script src="/resources/testharnessreport.js"></script> |
| 12 <script src="/common/performance-timeline-utils.js"></script> |
12 <script src="resources/webperftestharness.js"></script> | 13 <script src="resources/webperftestharness.js"></script> |
13 | 14 |
14 <script> | 15 <script> |
15 // test data | 16 // test data |
16 var startMarkName = "mark_start"; | 17 var startMarkName = "mark_start"; |
17 var startMarkValue; | 18 var startMarkValue; |
18 var endMarkName = "mark_end"; | 19 var endMarkName = "mark_end"; |
19 var endMarkValue; | 20 var endMarkValue; |
20 var measures; | 21 var measures; |
21 var testThreshold = 20; | 22 var testThreshold = 20; |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 <li>"measure_nav_start_nav_end":created using a measure() call w
ith a navigation timing attribute | 196 <li>"measure_nav_start_nav_end":created using a measure() call w
ith a navigation timing attribute |
196 provided as both the startMark and endMark</li> | 197 provided as both the startMark and endMark</li> |
197 </ul> | 198 </ul> |
198 After creating each measure, the existence of these measures is valid
ated by calling | 199 After creating each measure, the existence of these measures is valid
ated by calling |
199 performance.getEntriesByName() with each measure name | 200 performance.getEntriesByName() with each measure name |
200 </p> | 201 </p> |
201 | 202 |
202 <div id="log"></div> | 203 <div id="log"></div> |
203 </body> | 204 </body> |
204 </html> | 205 </html> |
OLD | NEW |