Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html

Issue 1126253007: Block modal dialogs inside sandboxes. (Closed) Base URL: svn://
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-scripting-02.html
diff --git a/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html b/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
index d02bdb2c9ae8648811107a0150ce8f717cf03788..3689adb1d5e509bba60e36b3e8f72bf916c6e677 100644
--- a/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
+++ b/LayoutTests/fast/frames/sandboxed-iframe-scripting-02.html
@@ -23,7 +23,7 @@
<iframe sandbox="allow-same-origin allow-scripts"
- src="data:text/html,<script>alert('PASS: Executed script in data URL');window.parent.postMessage({'pass': true}, '*');</script>">
+ src="data:text/html,<script>console.log('PASS: Executed script in data URL');window.parent.postMessage({'pass': true}, '*');</script>">
description("Verify that sandboxed frames with sandbox='allow-scripts' can execute script from data: URLs.");

Powered by Google App Engine
This is Rietveld 408576698