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

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

Powered by Google App Engine
This is Rietveld 408576698