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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_open_data_uri.html

Issue 2647643004: Report nav timing 2 instance as soon as it's requested. (Closed)
Patch Set: add TODO Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_open_data_uri.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_open_data_uri.html b/third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_open_data_uri.html
deleted file mode 100644
index 53996a6b31097b3dddc41c6ae9350062dd879191..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/external/wpt/navigation-timing/nav2_test_open_data_uri.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta charset="utf-8" />
- <title>Navigation Timing 2 WPT</title>
- <link rel="author" title="Google" href="http://www.google.com/" />
- <link rel="help" href="http://www.w3.org/TR/navigation-timing/#sec-navigation-timing-interface"/>
- <script src="/resources/testharness.js"></script>
- <script src="/resources/testharnessreport.js"></script>
- </head>
- <body>
- <h1>Description</h1>
- <p>This test validates there does not exist a navigation timing instance when opening a data uri. This data uri is equivalent to nav2_data_uri.html.</p>
-
- <script>
-async_test(function(t) {
- var gotEvent = false;
- window.addEventListener("message", t.step_func(function() {
- assert_unreached("A navigation timing instance existed");
- }));
- window.addEventListener("load", t.step_func(function() {
- t.step_timeout(function() { t.done(); }, 2000);
- }));
-}, "Navigation timing instance existence");
- </script>
-
- <iframe src="data:text/html;charset=utf-8,%3C%21DOCTYPE%20html%3E%0D%0A%3Ctitle%3Edata%20URL%20source%20for%20navigation-timing%2Fnav2_test_open_data_uri.html%3C%2Ftitle%3E%0D%0A%3C%21--%20NB%3A%20this%20file%20isn%27t%20actually%20used%20any%20where%21%20--%3E%0D%0A%3Clink%20rel%3D%22author%22%20title%3D%22Google%22%20href%3D%22http%3A%2F%2Fwww.google.com%2F%22%20%2F%3E%0D%0A%3Cscript%3E%0D%0Avar%20observer%20%3D%20new%20PerformanceObserver%28%0D%0A%20%20%20%20function%20%28entryList%29%20%7B%0D%0A%20%20%20%20%20%20%20%20parent.postMessage%28%22observed%22%2C%20%22%2A%22%29%3B%0D%0A%20%20%20%20%20%20%20%20observer.disconnect%28%29%3B%0D%0A%20%20%20%20%7D%29%3B%0D%0Aobserver.observe%28%7BentryTypes%3A%20%5B%22navigation%22%5D%7D%29%3B%0D%0A%3C%2Fscript%3E%0D%0A"></iframe>
- <!-- NB: see nav2_data_uri.html for the source of that data URI -->
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698