diff options
author | Kristian Monsen <kristianm@google.com> | 2010-05-21 16:53:46 +0100 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2010-05-25 10:24:15 +0100 |
commit | 6c2af9490927c3c5959b5cb07461b646f8b32f6c (patch) | |
tree | f7111b9b22befab472616c1d50ec94eb50f1ec8c /WebKit/mac/WebView/WebViewPrivate.h | |
parent | a149172322a9067c14e8b474a53e63649aa17cad (diff) | |
download | external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.zip external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.gz external_webkit-6c2af9490927c3c5959b5cb07461b646f8b32f6c.tar.bz2 |
Merge WebKit at r59636: Initial merge by git
Change-Id: I59b289c4e6b18425f06ce41cc9d34c522515de91
Diffstat (limited to 'WebKit/mac/WebView/WebViewPrivate.h')
-rw-r--r-- | WebKit/mac/WebView/WebViewPrivate.h | 9 |
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: |