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

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.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/fast/frames/sandboxed-iframe-parsing-space-characters.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.html b/LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.html
index a653934874c16d80cb048ceb647ca95f8586bc9a..3d7311e7f0e2e7365c4c954c619dfc469a8a9b57 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-parsing-space-characters.html
@@ -25,7 +25,7 @@ function testCharacter(possibleDelimiter, message) {
var policy = "allow-scripts" + possibleDelimiter + "allow-forms";
var iframe = document.createElement('iframe');
iframe.sandbox = policy;
- iframe.src = "data:text/html,<script>alert('" + message + "');<\/script>";
+ iframe.src = "data:text/html,<script>console.log('" + message + "');<\/script>";
iframe.onload = next;
document.body.appendChild(iframe);
}

Powered by Google App Engine
This is Rietveld 408576698