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

Unified Diff: Source/core/workers/WorkerGlobalScope.h

Issue 743153002: [DevTools] Show stack trace for exceptions in dedicated workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@worker-capture-stack
Patch Set: Rebased 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
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerGlobalScope.h
diff --git a/Source/core/workers/WorkerGlobalScope.h b/Source/core/workers/WorkerGlobalScope.h
index 92707c53cfd75d631ed660c24060f03ec7fc49c2..f8e5335fe2b24b8c16e5b0eedc136e0db6610693 100644
--- a/Source/core/workers/WorkerGlobalScope.h
+++ b/Source/core/workers/WorkerGlobalScope.h
@@ -125,6 +125,8 @@ public:
virtual void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) override final;
ConsoleMessageStorage* messageStorage();
+ void exceptionHandled(int exceptionId, bool isHandled);
+
virtual void trace(Visitor*) override;
protected:
@@ -168,6 +170,8 @@ private:
double m_timeOrigin;
OwnPtrWillBeMember<ConsoleMessageStorage> m_messageStorage;
+
+ HashMap<unsigned long, RefPtr<ConsoleMessage> > m_pendingMessages;
};
DEFINE_TYPE_CASTS(WorkerGlobalScope, ExecutionContext, context, context->isWorkerGlobalScope(), context.isWorkerGlobalScope());
« no previous file with comments | « Source/bindings/core/v8/V8Initializer.cpp ('k') | Source/core/workers/WorkerGlobalScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698