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

Unified Diff: content/test/data/indexeddb/key_types_test.js

Issue 11415083: Remove references to IDBDatabaseException and IDBRequest.errorCode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix error propagation from workers in endure test Created 8 years, 1 month 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
« no previous file with comments | « chrome/test/data/indexeddb/endure/app-worker.js ('k') | content/test/data/indexeddb/object_store_test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/indexeddb/key_types_test.js
diff --git a/content/test/data/indexeddb/key_types_test.js b/content/test/data/indexeddb/key_types_test.js
index 63ea7765dd43f8fae69d2ad7edeb2459ab04e3a0..7f0f8e11df7529b168937f096c45f6ac5c80ed46 100644
--- a/content/test/data/indexeddb/key_types_test.js
+++ b/content/test/data/indexeddb/key_types_test.js
@@ -4,8 +4,6 @@
window.indexedDB = window.indexedDB || window.webkitIndexedDB;
window.IDBTransaction = window.IDBTransaction || window.webkitIDBTransaction;
-window.IDBDatabaseException = window.IDBDatabaseException ||
- window.webkitIDBDatabaseException;
function test() {
indexedDBTest(prepareDatabase, testValidKeys);
@@ -143,7 +141,8 @@ function testInvalidKeys() {
return;
} catch (e) {
window.ex = e;
- shouldBe("ex.code", "IDBDatabaseException.DATA_ERR");
+ // TODO(jsbell): Uncomment when wkbug.com/102514 has landed/rolled.
+ //shouldBe("ex.code", "0");
shouldBe("ex.name", "'DataError'");
}
});
« no previous file with comments | « chrome/test/data/indexeddb/endure/app-worker.js ('k') | content/test/data/indexeddb/object_store_test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698