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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php

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/resources/sandbox.php
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
index ad4f46f27ac4d2c58869792990d8d13b3160a765..fc43a8dac1ef4729e9384945bbb55c07fd973646 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
@@ -8,6 +8,6 @@ if ($_GET["report-only"]) {
<!DOCTYPE html>
<p>Ready</p>
<script>
-alert("Script executed in iframe.");
+console.log("Script executed in iframe.");
window.secret = "I am a secret";
</script>

Powered by Google App Engine
This is Rietveld 408576698