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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: creis comments 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html b/third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html
index 694336cb96c89ed543016d071ecefc9d9faca481..6c294a5c9deba81ef70d5741aacd6b199e07138f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/resource-timing-iframe-restored-from-history.html
@@ -10,7 +10,7 @@ function runTest() {
sessionStorage.didNav = true;
// Navigate a timeout to make sure we generate a history entry that we can go back to.
setTimeout(function() {
- location.href = 'data:text/html,<script>alert("Going back.");history.back();</' + 'script>';
+ location.href = 'resources/alert-then-back.html';
}, 0);
} else {
delete sessionStorage.didNav;

Powered by Google App Engine
This is Rietveld 408576698