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

Unified Diff: LayoutTests/http/tests/security/no-indexeddb-from-sandbox.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/http/tests/security/no-indexeddb-from-sandbox.html
diff --git a/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html b/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html
index 734a415f4fe83854683558622f633bf089ffd2f1..e74ff010781a02ec9281337217d057a6d00dfda8 100644
--- a/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html
+++ b/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html
@@ -7,12 +7,12 @@ if (window.testRunner)
try {'test');
- alert('FAIL: should throw a SECURITY_ERR in a sandbox.');
+ console.log('FAIL: should throw a SECURITY_ERR in a sandbox.');
} catch (e) {
if (e.code === DOMException.SECURITY_ERR)
- alert('PASS: threw a SECURITY_ERR!');
+ console.log('PASS: threw a SECURITY_ERR!');
- alert('FAIL: threw a ' +;
+ console.log('FAIL: threw a ' +;

Powered by Google App Engine
This is Rietveld 408576698