Index: LayoutTests/storage/indexeddb/resources/persistence.js |
diff --git a/LayoutTests/storage/indexeddb/resources/persistence.js b/LayoutTests/storage/indexeddb/resources/persistence.js |
index c3f278097355156c743b4fd804d5b0d25cd1f79a..50edc571cdca3b434fbcd0c29e642845b8ea6a74 100644 |
--- a/LayoutTests/storage/indexeddb/resources/persistence.js |
+++ b/LayoutTests/storage/indexeddb/resources/persistence.js |
@@ -12,7 +12,8 @@ function prepareDatabase() |
var db = request.result; |
var trans = request.transaction; |
trans.abort(); |
- request.onerror = function() { |
+ request.onerror = function(evt) { |
+ evt.preventDefault(); |
db.close(); |
first(); |
}; |