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

Unified Diff: LayoutTests/http/tests/security/no-indexeddb-from-sandbox.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/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)
<script>
try {
indexedDB.open('test');
- alert('FAIL: indexedDB.open() should throw a SECURITY_ERR in a sandbox.');
+ console.log('FAIL: indexedDB.open() should throw a SECURITY_ERR in a sandbox.');
} catch (e) {
if (e.code === DOMException.SECURITY_ERR)
- alert('PASS: indexedDB.open() threw a SECURITY_ERR!');
+ console.log('PASS: indexedDB.open() threw a SECURITY_ERR!');
else
- alert('FAIL: indexedDB.open() threw a ' + e.name);
+ console.log('FAIL: indexedDB.open() threw a ' + e.name);
}
</script>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698