summaryrefslogtreecommitdiffstats
path: root/WebKit/mac/WebView/WebViewPrivate.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/mac/WebView/WebViewPrivate.h')
-rw-r--r--WebKit/mac/WebView/WebViewPrivate.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebKit/mac/WebView/WebViewPrivate.h b/WebKit/mac/WebView/WebViewPrivate.h
index 327743a..cedc62c 100644
--- a/WebKit/mac/WebView/WebViewPrivate.h
+++ b/WebKit/mac/WebView/WebViewPrivate.h
@@ -28,6 +28,7 @@
#import <WebKit/WebView.h>
#import <WebKit/WebFramePrivate.h>
+#import <JavaScriptCore/JSBase.h>
#if !defined(ENABLE_DASHBOARD_SUPPORT)
#define ENABLE_DASHBOARD_SUPPORT 1
@@ -240,6 +241,14 @@ Could be worth adding to the API.
*/
- (void)_loadBackForwardListFromOtherView:(WebView *)otherView;
+/*
+ @method _reportException:inContext:
+ @abstract Logs the exception to the Web Inspector. This only needs called for exceptions that
+ occur while using the JavaScriptCore APIs with a context owned by a WebKit.
+ @param exception The exception value to log.
+ @param context The context the exception occured in.
+*/
++ (void)_reportException:(JSValueRef)exception inContext:(JSContextRef)context;
/*!
@method _dispatchPendingLoadRequests: