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

Unified Diff: third_party/WebKit/LayoutTests/printing/print-close-crash.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/printing/print-close-crash.html
diff --git a/third_party/WebKit/LayoutTests/printing/print-close-crash.html b/third_party/WebKit/LayoutTests/printing/print-close-crash.html
index f588cca5a14566216f659dcb88892cc8a94c6bd9..2af8367d19b6bff11423b74fa90bdc9acf824d5a 100644
--- a/third_party/WebKit/LayoutTests/printing/print-close-crash.html
+++ b/third_party/WebKit/LayoutTests/printing/print-close-crash.html
@@ -6,7 +6,7 @@ if (window.testRunner) {
testRunner.setCanOpenWindows();
testRunner.setCloseRemainingWindowsWhenComplete(true);
}
-var w = window.open("data:text/html,foo");
+var w = window.open("about:blank");
w.print();
w.close();

Powered by Google App Engine
This is Rietveld 408576698