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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html

Issue 2792213002: Prevent layout tests from being broken by data URL deprecation. (Closed)
Patch Set: 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/http/tests/security/popup-allowed-by-sandbox-can-navigate.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html b/third_party/WebKit/LayoutTests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html
index 7ffb936edb8f003702cae064c151263fa2c72b46..b60f45d31d4041e5a0ae79874cc466c11897d71e 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/popup-allowed-by-sandbox-can-navigate.html
@@ -7,11 +7,11 @@ if (window.testRunner) {
}
</script>
<p>To run this test outside of DumpRenderTree, please disable your popup blocker!</p>
-<p>This test passes if it doesnt hang.</p>
+<p>This test passes if it doesn't hang.</p>
<iframe sandbox="allow-scripts allow-popups"
src="data:text/html,
<script>
- var win = window.open('data:text/html,', '_blank');
- win.location = 'http://127.0.0.1:8000/navigation/resources/pass-and-notify-done.html';
+ var win = window.open('about:blank', '_blank');
+ win.location = 'http://127.0.0.1:8000/navigation/resources/pass-and-notify-done.html';
</script>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698