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

Unified Diff: third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h

Issue 2170263002: [DevTools] Pass error object when reporting exceptions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: worklets! Created 4 years, 5 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/core/inspector/WorkerThreadDebugger.h
diff --git a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
index 123bbf5885bee513d1c2d2626a6a8ad76b53a9d2..e5b2cc518e8483755860784c477a63a1c7d7e0ec 100644
--- a/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
+++ b/third_party/WebKit/Source/core/inspector/WorkerThreadDebugger.h
@@ -37,6 +37,7 @@
namespace blink {
class ConsoleMessage;
+class ErrorEvent;
class SourceLocation;
class WorkerThread;
@@ -53,7 +54,7 @@ public:
int contextGroupId();
void contextCreated(v8::Local<v8::Context>);
void contextWillBeDestroyed(v8::Local<v8::Context>);
- void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>);
+ void exceptionThrown(ErrorEvent*);
unsigned promiseRejected(v8::Local<v8::Context>, const String16& errorMessage, v8::Local<v8::Value> exception, std::unique_ptr<SourceLocation>);
// V8DebuggerClient implementation.

Powered by Google App Engine
This is Rietveld 408576698