Index: LayoutTests/storage/indexeddb/resources/objectstore-basics.js |
diff --git a/LayoutTests/storage/indexeddb/resources/objectstore-basics.js b/LayoutTests/storage/indexeddb/resources/objectstore-basics.js |
index 4ae26255fa6d1108a4f347e96911251995a776af..ea70cab5c3900ac1044889956022c01ef65925bd 100644 |
--- a/LayoutTests/storage/indexeddb/resources/objectstore-basics.js |
+++ b/LayoutTests/storage/indexeddb/resources/objectstore-basics.js |
@@ -120,9 +120,11 @@ function checkMetadata() |
var testDate = new Date("August 25, 1991 20:57:08"); |
var testDateB = new Date("Wed Jan 05 2011 15:54:49"); |
-function openAgain() |
+function openAgain(evt) |
{ |
- preamble(); |
+ preamble(evt); |
+ evt.preventDefault(); |
+ |
request = evalAndLog('indexedDB.open(dbname)'); |
request.onerror = unexpectedErrorCallback; |
request.onblocked = unexpectedBlockedCallback; |