Chromium Code Reviews| 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(); |
|
cmumford
2014/06/18 21:32:36
Do we also need to call preventDefault in any Chro
jsbell
2014/06/18 22:28:46
Nope. At least, they all pass locally.
(I think w
|
| db.close(); |
| first(); |
| }; |