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

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

Issue 625943002: Catch uncaught promise rejections from V8 and log to console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: addressed Created 6 years, 2 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: Source/core/testing/NullExecutionContext.h
diff --git a/Source/core/testing/NullExecutionContext.h b/Source/core/testing/NullExecutionContext.h
index ec7246aebd45f400079ebff72f917d56ae69e5c6..b06f27a83f0f42fda0448cc9513197c4577010ab 100644
--- a/Source/core/testing/NullExecutionContext.h
+++ b/Source/core/testing/NullExecutionContext.h
@@ -37,7 +37,7 @@ public:
double timerAlignmentInterval() const;
virtual void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) OVERRIDE { }
- virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>) OVERRIDE { }
+ virtual void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptArguments>) OVERRIDE { }
void trace(Visitor* visitor)
{

Powered by Google App Engine
This is Rietveld 408576698