enable transaction_get_test, make it less flakey


BUG=131832
TEST=


Review URL: https://chromiumcodereview.appspot.com/10545092

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141250 0039d316-1c4b-4281-b951-d872f2087c98
parent 732b2a89
......@@ -86,8 +86,7 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, KeyPathTest) {
SimpleTest(GetTestURL(FilePath(FILE_PATH_LITERAL("key_path_test.html"))));
}
// Temporarily disabling until webkit r119751 rolls (alecflett@chromium.org)
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_TransactionGetTest) {
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, TransactionGetTest) {
SimpleTest(GetTestURL(FilePath(
FILE_PATH_LITERAL("transaction_get_test.html"))));
}
......
......@@ -9,7 +9,7 @@ function afterCommit()
var store = transaction.objectStore('storeName');
} catch (e) {
exc = e;
shouldBe('exc.code', 'webkitIDBDatabaseException.NOT_ALLOWED_ERR');
shouldBe('exc.code', 'DOMException.INVALID_STATE_ERR');
}
done();
}
......@@ -17,7 +17,7 @@ function afterCommit()
function nonExistingKey()
{
shouldBe("event.target.result", "undefined");
window.setTimeout('afterCommit()', 0);
transaction.oncomplete = afterCommit;
}
function gotValue()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment