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

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: Don't capture full stack unless devtools is visible Created 6 years 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 81afa0d469fe454800a7e6203c0125879556009e..c2fa2ecdbc7dee32cfaf434c680c8248dca04987 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -49,8 +49,9 @@ namespace blink {
class ExceptionState;
class IDBCursor;
-struct IDBDatabaseMetadata;
+class ScriptCallStack;
class SharedBuffer;
+struct IDBDatabaseMetadata;
class IDBRequest
: public RefCountedGarbageCollectedWillBeGarbageCollectedFinalized<IDBRequest>
@@ -166,6 +167,8 @@ private:
RefPtr<SharedBuffer> m_cursorValue;
OwnPtr<Vector<WebBlobInfo> > m_blobInfo;
+ RefPtrWillBeMember<ScriptCallStack> m_creationStackTrace;
+
bool m_didFireUpgradeNeededEvent;
bool m_preventPropagation;
bool m_resultDirty;

Powered by Google App Engine
This is Rietveld 408576698