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

Unified Diff: Source/modules/indexeddb/IDBRequest.h

Issue 243523003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update testharness-based test to allow onerror Created 6 years, 7 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: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 3ffeedb595b43a42322cb6f459f908992ff04696..041e186a6db8090d8db9d75e9fb3d7284df0b8f8 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -49,8 +49,9 @@ namespace WebCore {
class ExceptionState;
class IDBCursor;
-struct IDBDatabaseMetadata;
+class ScriptCallStack;
class SharedBuffer;
+struct IDBDatabaseMetadata;
class IDBRequest
: public RefCountedGarbageCollected<IDBRequest>
@@ -165,6 +166,8 @@ private:
bool m_didFireUpgradeNeededEvent;
bool m_preventPropagation;
bool m_resultDirty;
+
+ RefPtr<ScriptCallStack> m_creationStackTrace;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698