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

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

Issue 1362953003: Fire window.onerror for uncaught IndexedDB errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 3 years, 11 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: third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
diff --git a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
index 52eb239eea2247897fdfd639af51b854fddb957d..f39b147c17d0864dc4d0038df4ee093d72f5072e 100644
--- a/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
+++ b/third_party/WebKit/Source/modules/indexeddb/IDBRequest.h
@@ -55,6 +55,7 @@ class ExceptionState;
class IDBCursor;
struct IDBDatabaseMetadata;
class IDBValue;
+class SourceLocation;
class MODULES_EXPORT IDBRequest : public EventTargetWithInlineData,
public ActiveScriptWrappable<IDBRequest>,
@@ -187,6 +188,8 @@ class MODULES_EXPORT IDBRequest : public EventTargetWithInlineData,
bool m_preventPropagation = false;
bool m_resultDirty = true;
+ std::unique_ptr<SourceLocation> m_creationSource;
+
// Pointer back to the WebIDBCallbacks that holds a persistent reference to
// this object.
WebIDBCallbacks* m_webCallbacks = nullptr;
« no previous file with comments | « third_party/WebKit/Source/core/events/ErrorEvent.h ('k') | third_party/WebKit/Source/modules/indexeddb/IDBRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698