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

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

Issue 2774543003: Fix PerformanceNavigationTiming accessor behavior after document detach. (Closed)
Patch Set: sync Created 3 years, 8 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 function onload_test()
12 { test(function() {
13 var pnt = window.frames[0].performance.getEntriesByType("nav igation")[0];
14 document.getElementById("frameContext").remove();
15 assert_equals(pnt.type, "navigate");
16 });
17 }
18 </script>
19 </head>
20 <body>
21 <h1>
22 Description</h1>
23 <p>
24 This test validates that PerformanceNavigationTiming::type()'s defua lt value is navigate </p>
25 <iframe id="frameContext" onload="onload_test();" src="resources/blank_p age_yellow_with_onunload.html" style="width: 250px; height: 250px;"></iframe>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698