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

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: 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
« no previous file with comments | « Source/core/events/ErrorEvent.h ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/indexeddb/IDBRequest.h
diff --git a/Source/modules/indexeddb/IDBRequest.h b/Source/modules/indexeddb/IDBRequest.h
index 6c5e1eece54f06caa237689fabc69d574c876ad5..c8621ad9ad45483d1e6cce7cb948c1ebcd6c396f 100644
--- a/Source/modules/indexeddb/IDBRequest.h
+++ b/Source/modules/indexeddb/IDBRequest.h
@@ -53,6 +53,7 @@ class ExceptionState;
class IDBCursor;
struct IDBDatabaseMetadata;
class IDBValue;
+class ScriptCallStack;
class MODULES_EXPORT IDBRequest
: public RefCountedGarbageCollectedEventTargetWithInlineData<IDBRequest>
@@ -140,6 +141,7 @@ protected:
Member<IDBTransaction> m_transaction;
ReadyState m_readyState = PENDING;
bool m_requestAborted = false; // May be aborted by transaction then receive async onsuccess; ignore vs. assert.
+ RefPtrWillBeMember<ScriptCallStack> m_creationStack;
private:
void setResultCursor(IDBCursor*, IDBKey*, IDBKey* primaryKey, PassRefPtr<IDBValue>);
« no previous file with comments | « Source/core/events/ErrorEvent.h ('k') | Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698