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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/sandboxed-opener-can-close-window.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/sandboxed-opener-can-close-window.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/sandboxed-opener-can-close-window.html b/third_party/WebKit/LayoutTests/http/tests/security/sandboxed-opener-can-close-window.html
index fa878452d628142073abacdf97e6b31677d16242..eb03aaab5257daa1c1da5ffbcf9ffa17db97d72c 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/sandboxed-opener-can-close-window.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/sandboxed-opener-can-close-window.html
@@ -7,13 +7,13 @@ 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,
<body><script>
- var win = window.open('data:text/html,', '_blank');
+ var win = window.open('about:blank', '_blank');
win.close();
document.body.appendChild(
- document.createTextNode(win.closed ? 'PASS' : 'FAIL'));
+ document.createTextNode(win.closed ? 'PASS' : 'FAIL'));
</script></body>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698