Index: third_party/WebKit/LayoutTests/http/tests/performance-timing/nav2-test-instance-accessible-from-the-start.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/performance-timing/nav2-test-instance-accessible-from-the-start.html b/third_party/WebKit/LayoutTests/http/tests/performance-timing/nav2-test-instance-accessible-from-the-start.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dfcceefc89be28cc02663ad1fbd21338bca9d126 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/performance-timing/nav2-test-instance-accessible-from-the-start.html |
@@ -0,0 +1,8 @@ |
+<!DOCTYPE html> |
+<script src="../resources/testharness.js"></script> |
+<script src="../resources/testharnessreport.js"></script> |
+<script> |
+var navigationTiming2 = window.performance.getEntriesByType('navigation'); |
+assert_true(navigationTiming2 !== undefined); |
Kunihiko Sakamoto
2017/03/10 08:19:00
Please write assertions inside test().
https://git
sunjian
2017/03/10 20:40:17
Done.
|
+done(); |
+</script> |