Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_navigation_type_navigate.html

Issue 2676573004: Import wpt@6010f54a979d242f657b284bae53c2b218c533f4 (Closed)
Patch Set: Update test expectations and baselines. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8" />
5 <title>Navigation Timing 2 WPT</title>
6 <link rel="author" title="Google" href="http://www.google.com/" />
7 <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navig ation-timing-interface"/>
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 <script>
11 async_test(function (t) {
12 var observer = new PerformanceObserver(
13 t.step_func(function (entryList) {
14 assert_equals(entryList.getEntries()[0].type, "navigate" , "Expected navigation type to be navigate.");
15 observer.disconnect();
16 t.done();
17 })
18 );
19 observer.observe({entryTypes: ["navigation"]});
20
21 }, "Navigation type to be navigate.");
22 </script>
23
24 </head>
25 <body>
26 <h1>
27 Description</h1>
28 <p>
29 This test validates the value of window.performance.getEntriesByType ("navigation")[0].type to be navigate.</p>
30
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698