diff options
Diffstat (limited to 'chrome/test/data/indexeddb/common.js')
-rw-r--r-- | chrome/test/data/indexeddb/common.js | 17 |
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); -} |