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

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: Include error name Created 6 years, 8 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 2bca602f30ef37782e63b907ee496003dbeb0e10..3e518fbfccaa5ae8b0275242e75382a22398d7df 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -48,8 +48,9 @@ namespace WebCore {
class ExceptionState;
class IDBCursor;
-struct IDBDatabaseMetadata;
+class ScriptCallStack;
class SharedBuffer;
+struct IDBDatabaseMetadata;
// Base class to simplify usage of event target refcounting.
class IDBRequestBase : public WTF::RefCountedBase {
@@ -175,6 +176,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