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

Unified Diff: LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WebSandboxFlags. Created 5 years, 7 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: LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html
diff --git a/LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html b/LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html
index 2d17a74c6535994f83bb7bc2a2185ec137a0b2a2..a201cc1b5fa27c81bd2ca3e7f0748e6e57cf2d24 100644
--- a/LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html
+++ b/LayoutTests/http/tests/security/xss-DENIED-window-name-alert.html
@@ -5,5 +5,5 @@ if (window.testRunner)
<iframe sandbox="allow-scripts"
src="data:text/html,<script>
window.name='alert';
- alert(top.alert === window ? 'PASS' : 'FAIL');
+ console.log(top.alert === window ? 'PASS' : 'FAIL');
</script>"></iframe>

Powered by Google App Engine
This is Rietveld 408576698