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

Unified Diff: LayoutTests/http/tests/security/sandbox-iframe-allows-modals-expected.txt

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/sandbox-iframe-allows-modals-expected.txt
diff --git a/LayoutTests/http/tests/security/sandbox-iframe-allows-modals-expected.txt b/LayoutTests/http/tests/security/sandbox-iframe-allows-modals-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..84569003e9f3b76a786603241b4f5f7f470c48dd
--- /dev/null
+++ b/LayoutTests/http/tests/security/sandbox-iframe-allows-modals-expected.txt
@@ -0,0 +1,10 @@
+ALERT: Yay!
+CONFIRM: Question?
+PROMPT: Question?, default text:
+This is a testharness.js-based test.
+PASS alert() returns synchronously in a sandboxed page without blocking on user input.
+PASS print() returns synchronously in a sandboxed page without blocking on user input.
+PASS confirm() returns 'true' in a sandboxed page (in our test environment).
+PASS prompt() returns 'null' synchronously in a sandboxed page without blocking on user input.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698