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

Unified Diff: chrome/test/data/extensions/platform_apps/web_view/shim/guest.html

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: kinuko comments 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: chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
diff --git a/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html b/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
index f893348671a20cf7e6938b5a281fc7ffa881892d..3d8aa7e68db7306c21fa8bf0e076af11588fc2b8 100644
--- a/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
+++ b/chrome/test/data/extensions/platform_apps/web_view/shim/guest.html
@@ -9,8 +9,7 @@
<title>A guest that opens a new window.</title>
<script type="text/javascript">
window.onload = function() {
- window.open(
- 'data:text/html,<html><body>Initial dummy guest</body></html>');
+ window.open('about:blank');
};
</script>
</head>

Powered by Google App Engine
This is Rietveld 408576698