Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(87)

Unified Diff: LayoutTests/storage/indexeddb/resources/objectstore-basics.js

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased and linkage fix Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « LayoutTests/storage/indexeddb/resources/metadata.js ('k') | LayoutTests/storage/indexeddb/resources/odd-strings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698