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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.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/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html
index 11cb8023591d7f376ac744efddb5d4928686894d..726f4203f4a63e4b446576f1b2def5f44b8d45ff 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html
@@ -8,9 +8,9 @@ window.onload = function() {
var frame = document.getElementsByTagName("iframe")[0];
try {
var secret = frame.contentWindow.secret;
- alert("FAIL: Iframe was not in a unique origin: " + secret);
+ console.log("FAIL: Iframe was not in a unique origin: " + secret);
} catch (e) {
- alert("PASS: Iframe was in a unique origin");
+ console.log("PASS: Iframe was in a unique origin");
}
};
</script>

Powered by Google App Engine
This is Rietveld 408576698