summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/indexeddb/common.js
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 12:16:17 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-24 12:16:17 +0000
commit507902277eebc76641b21243039865f61fd7f13a (patch)
treed855b8cff498f9998e118e6f76668ddb794257c9 /chrome/test/data/indexeddb/common.js
parentef811fd19fc58d4ebf90904eec8ac5e4251c3e22 (diff)
downloadchromium_src-507902277eebc76641b21243039865f61fd7f13a.zip
chromium_src-507902277eebc76641b21243039865f61fd7f13a.tar.gz
chromium_src-507902277eebc76641b21243039865f61fd7f13a.tar.bz2
Revert 60457 - Adds IDBFactory::didCompleteEventsForTransaction plumbing
(depends on https://bugs.webkit.org/show_bug.cgi?id=44700) TEST=IndexedDBBrowserTest.TransactionGetTest This takes over http://codereview.chromium.org/3310022/show Review URL: http://codereview.chromium.org/3394007 TBR=andreip@chromium.org Review URL: http://codereview.chromium.org/3405031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data/indexeddb/common.js')
-rw-r--r--chrome/test/data/indexeddb/common.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/chrome/test/data/indexeddb/common.js b/chrome/test/data/indexeddb/common.js
index 9ebd361..b773fe3 100644
--- a/chrome/test/data/indexeddb/common.js
+++ b/chrome/test/data/indexeddb/common.js
@@ -22,23 +22,11 @@ function getLog()
return "" + document.getElementById('status').innerHTML;
}
-function unexpectedSuccessCallback()
-{
- fail('unexpectedSuccessCallback');
-}
-
function unexpectedErrorCallback()
{
fail('unexpectedErrorCallback');
}
-function deleteAllObjectStores(db)
-{
- objectStores = db.objectStores;
- for (var i = 0; i < objectStores.length; ++i)
- db.removeObjectStore(objectStores[i]);
-}
-
// The following functions are based on
// WebKit/LayoutTests/fast/js/resources/js-test-pre.js
// so that the tests will look similar to the existing layout tests.
@@ -91,8 +79,3 @@ function shouldBeTrue(_a) { shouldBe(_a, "true"); }
function shouldBeFalse(_a) { shouldBe(_a, "false"); }
function shouldBeNaN(_a) { shouldBe(_a, "NaN"); }
function shouldBeNull(_a) { shouldBe(_a, "null"); }
-function shouldBeEqualToString(a, b)
-{
- var unevaledString = '"' + b.replace(/\\/g, "\\\\").replace(/"/g, "\"") + '"';
- shouldBe(a, unevaledString);
-}