Index: LayoutTests/storage/indexeddb/resources/metadata.js |
diff --git a/LayoutTests/storage/indexeddb/resources/metadata.js b/LayoutTests/storage/indexeddb/resources/metadata.js |
index af93e0ea2b9558cbf4010c121e247c2d61ef057d..a52641d48e6a5b93cf6d351fdb4814f820170091 100644 |
--- a/LayoutTests/storage/indexeddb/resources/metadata.js |
+++ b/LayoutTests/storage/indexeddb/resources/metadata.js |
@@ -70,11 +70,13 @@ function thirdOpen() |
debug("Connection's properties should be reverted on abort"); |
evalAndLog("trans.abort()"); |
}; |
- request.onerror = function() { |
+ request.onerror = function(evt) { |
+ evt.preventDefault(); |
+ |
debug("Connection's properties should be snapshotted on close"); |
evalAndLog("connection3.close()"); |
fourthOpen(); |
- } |
+ }; |
} |
function fourthOpen() |