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

Unified Diff: content/test/data/indexeddb/value_size_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 | « content/test/data/indexeddb/object_store_test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/data/indexeddb/value_size_test.js
diff --git a/content/test/data/indexeddb/value_size_test.js b/content/test/data/indexeddb/value_size_test.js
index f1a8a5fc4ed26fe52dd2f70d5c0feb57b7848365..78aff59a907efa9e221671d24880e685e8ef5588 100644
--- a/content/test/data/indexeddb/value_size_test.js
+++ b/content/test/data/indexeddb/value_size_test.js
@@ -97,7 +97,8 @@ function testOverLimit()
} catch (e) {
debug('Exception (expected)');
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'");
}
@@ -109,7 +110,8 @@ function testOverLimit()
} catch (e) {
debug('Exception (expected)');
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'");
}
@@ -125,7 +127,8 @@ function testOverLimit()
} catch (e) {
debug('Exception (expected)');
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'");
transaction.abort();
« no previous file with comments | « content/test/data/indexeddb/object_store_test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698