Index: chrome/test/data/indexeddb/transaction_get_test.js |
diff --git a/chrome/test/data/indexeddb/transaction_get_test.js b/chrome/test/data/indexeddb/transaction_get_test.js |
index 0c5cfa8451927a127766bb20eda656cc77eee12b..74354785afa12a3d2aee234920dbb62d3b499910 100644 |
--- a/chrome/test/data/indexeddb/transaction_get_test.js |
+++ b/chrome/test/data/indexeddb/transaction_get_test.js |
@@ -16,6 +16,7 @@ function afterCommit() |
function nonExistingKey() |
{ |
+ shouldBe("event.result", "undefined"); |
window.setTimeout('afterCommit()', 0); |
} |
@@ -36,11 +37,9 @@ function startTransaction() |
result.onsuccess = gotValue; |
result.onerror = unexpectedErrorCallback; |
- // TODO(hans): Enable this again with the new semantics after WebKit rolls. |
- //var emptyResult = store.get('nonExistingKey'); |
- //emptyResult.onsuccess = unexpectedSuccessCallback; |
- //emptyResult.onerror = nonExistingKey; |
- nonExistingKey(); |
+ var emptyResult = store.get('nonExistingKey'); |
+ emptyResult.onsuccess = nonExistingKey; |
+ emptyResult.onerror = unexpectedErrorCallback; |
} |
function populateObjectStore() |