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

Unified Diff: LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html

Issue 415753002: Deprecate the webkit-prefixed standard IndexedDB entry points (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 dbf833bb30d7bed95e3a480720ad135ba03b14b9..734a415f4fe83854683558622f633bf089ffd2f1 100644
--- a/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html
+++ b/LayoutTests/http/tests/security/no-indexeddb-from-sandbox.html
@@ -5,15 +5,14 @@ if (window.testRunner)
<iframe sandbox="allow-scripts"
src="data:text/html,
<script>
- var db = window.webkitIndexedDB;
try {
- db.open('test');
- alert('FAIL: db.open() should throw a SECURITY_ERR in a sandbox.');
+ indexedDB.open('test');
+ alert('FAIL: indexedDB.open() should throw a SECURITY_ERR in a sandbox.');
} catch (e) {
if (e.code === DOMException.SECURITY_ERR)
- alert('PASS: db.open() threw a SECURITY_ERR!');
+ alert('PASS: indexedDB.open() threw a SECURITY_ERR!');
else
- alert('FAIL: db.open() threw a ' + e.name);
+ alert('FAIL: indexedDB.open() threw a ' + e.name);
}
</script>"
></iframe>

Powered by Google App Engine
This is Rietveld 408576698