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

Unified Diff: LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.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/isolatedWorld/sandboxed-iframe.html
diff --git a/LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.html b/LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.html
index f7e542e6323c0406b0584f83c873a69340271629..4c98ba0758b08d1be2e0aa986e3d4de64bd5a211 100644
--- a/LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.html
+++ b/LayoutTests/http/tests/security/isolatedWorld/sandboxed-iframe.html
@@ -7,7 +7,7 @@ function test()
testRunner.dumpAsText();
var frame = document.getElementById("frame");
frame.contentWindow.focus();
- testRunner.evaluateScriptInIsolatedWorld(1, "alert('PASS');");
+ testRunner.evaluateScriptInIsolatedWorld(1, "console.log('PASS');");
} else {
var msg = document.createElement("p");
msg.innerText = "FAIL: Test requires testRunner to run.";

Powered by Google App Engine
This is Rietveld 408576698