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

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: typo 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 5e7eaa96b87934aaedd360c7bd105d55f2aeeaf8..52c1e68b60c7ebe9ca43fa40cec56184706c4dac 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