Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/testharness.js"></script> | |
| 3 <script src="../resources/testharnessreport.js"></script> | |
| 4 <script> | |
|
panicker
2017/03/10 21:46:36
move this under web-platform-tests in external/wpt
sunjian
2017/03/13 19:08:18
I thought of doing this. But i am not sure whether
panicker
2017/03/13 20:42:40
Yes it's fine to move to external/wpt/ as this is
sunjian
2017/03/14 18:36:58
Done.
| |
| 5 test(function() { | |
| 6 var navigationTiming2 = window.performance.getEntriesByType('navigation' )[0]; | |
| 7 assert_true(navigationTiming2 !== undefined); | |
| 8 assert_equals(navigationTiming2.entryType, "navigation"); | |
| 9 assert_equals(navigationTiming2.startTime, 0); | |
| 10 assert_equals(navigationTiming2.initiatorType, "navigation"); | |
| 11 done(); | |
| 12 }, "PerformanceNavigationTiming instance exists with reasonable values."); | |
| 13 </script> | |
| OLD | NEW |