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

Unified Diff: third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html
diff --git a/third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html b/third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html
index c04c90b5aa581dd2c0f8e3809336411dfb8508a0..d56429eba8286baf4ec6422cfcab42bd0b87f810 100644
--- a/third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html
+++ b/third_party/WebKit/LayoutTests/svg/as-object/history-navigation.html
@@ -13,7 +13,7 @@ function runTest() {
} else {
// 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>history.back();</' + 'script>';}, 0);
+ setTimeout(function() {location.href = '../../resources/back.html';}, 0);
sessionStorage.didNav = true;
}
}

Powered by Google App Engine
This is Rietveld 408576698