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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.h

Issue 2116563003: [DevTools] Report unhandled exceptions and promise rejections through Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after ExceptionDetails change 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/testing/NullExecutionContext.h
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.h b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
index fb0978971363b632be698a4a3a0cb4421d99d933..379de81959eaba6205ee6b9291b942e99e861563 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
@@ -38,7 +38,7 @@ public:
DOMTimerCoordinator* timers() override { return nullptr; }
void addConsoleMessage(ConsoleMessage*) override { }
- void logExceptionToConsole(const String& errorMessage, std::unique_ptr<SourceLocation>) override { }
+ void exceptionThrown(const String& errorMessage, std::unique_ptr<SourceLocation>) override { }
void setIsSecureContext(bool);
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override;

Powered by Google App Engine
This is Rietveld 408576698