WebKit Constants Reference
| Framework | WebKit/WebKit.h |
| Declared in | WebKitErrors.h |
Overview
This document describes the types and constants found in the WebKit.
Constants
WebKit Policy Errors
Policy errors that can occur.
typedef enum {
WebKitErrorCannotShowMIMEType = 100,
WebKitErrorCannotShowURL = 101,
WebKitErrorFrameLoadInterruptedByPolicyChange = 102,
};
Constants
WebKitErrorCannotShowMIMETypeIndicates that a MIME type is not supported.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.WebKitErrorCannotShowURLIndicates a failure in changing a location.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.WebKitErrorFrameLoadInterruptedByPolicyChangeIndicates that a frame load was interrupted by a policy change.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.
Discussion
These errors occur when applying policy decisions.
WebKit Plug-in and Java Errors
Plug-in and Java errors that can occur.
typedef enum {
WebKitErrorCannotFindPlugIn = 200,
WebKitErrorCannotLoadPlugIn = 201,
WebKitErrorJavaUnavailable = 202,
};
Constants
WebKitErrorCannotFindPlugInIndicates a plug-in could not be found.
Available in OS X v10.3 and later.
Declared in
WebKitErrors.h.WebKitErrorCannotLoadPlugInIndicates a plug-in could not be loaded.
Available in OS X v10.3 and later.
Declared in
WebKitErrors.h.WebKitErrorJavaUnavailableIndicates that Java is unavailable.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.
Discussion
These errors occur when loading pages containing plug-in or Java content.
Other WebKit Errors
Other WebKit errors that can occur.
extern NSString *WebKitErrorDomain; extern NSString * const WebKitErrorMIMETypeKey; extern NSString * const WebKitErrorPlugInNameKey; extern NSString * const WebKitErrorPlugInPageURLStringKey;
Constants
WebKitErrorDomainA string used by NSError to indicate that the error was originated by a WebKit class.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.WebKitErrorMIMETypeKeyA dictionary key whose value is a string of the
TYPEattribute.Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.WebKitErrorPlugInNameKeyA dictionary key whose value is a string containing the plug-in's name.
Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.WebKitErrorPlugInPageURLStringKeyA dictionary key whose value is a URL string of the
PLUGINSPAGEattribute.Available in OS X v10.2 and later.
Declared in
WebKitErrors.h.
Discussion
These errors occur while loading content.
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-02)