Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
- Enumerations
- AuthenticationScheme
- CacheModel
- ContextMenuAction
- CookieAcceptPolicy
- CookiePersistentStorage
- CredentialPersistence
- DownloadError
- FaviconDatabaseError
- HardwareAccelerationPolicy
- InsecureContentEvent
- JavascriptError
- LoadEvent
- NavigationType
- NetworkError
- NetworkProxyMode
- PluginError
- PolicyDecisionType
- PolicyError
- PrintError
- PrintOperationResponse
- ProcessModel
- SaveMode
- ScriptDialogType
- SnapshotError
- SnapshotRegion
- TLSErrorsPolicy
- UserContentFilterError
- UserContentInjectedFrames
- UserScriptInjectionTime
- UserStyleLevel
- WebProcessTerminationReason
Synopsis
- data AuthenticationScheme
- = AuthenticationSchemeDefault
- | AuthenticationSchemeHttpBasic
- | AuthenticationSchemeHttpDigest
- | AuthenticationSchemeHtmlForm
- | AuthenticationSchemeNtlm
- | AuthenticationSchemeNegotiate
- | AuthenticationSchemeClientCertificateRequested
- | AuthenticationSchemeServerTrustEvaluationRequested
- | AuthenticationSchemeUnknown
- | AnotherAuthenticationScheme Int
- data CacheModel
- data ContextMenuAction
- = ContextMenuActionNoAction
- | ContextMenuActionOpenLink
- | ContextMenuActionOpenLinkInNewWindow
- | ContextMenuActionDownloadLinkToDisk
- | ContextMenuActionCopyLinkToClipboard
- | ContextMenuActionOpenImageInNewWindow
- | ContextMenuActionDownloadImageToDisk
- | ContextMenuActionCopyImageToClipboard
- | ContextMenuActionCopyImageUrlToClipboard
- | ContextMenuActionOpenFrameInNewWindow
- | ContextMenuActionGoBack
- | ContextMenuActionGoForward
- | ContextMenuActionStop
- | ContextMenuActionReload
- | ContextMenuActionCopy
- | ContextMenuActionCut
- | ContextMenuActionPaste
- | ContextMenuActionDelete
- | ContextMenuActionSelectAll
- | ContextMenuActionInputMethods
- | ContextMenuActionUnicode
- | ContextMenuActionSpellingGuess
- | ContextMenuActionNoGuessesFound
- | ContextMenuActionIgnoreSpelling
- | ContextMenuActionLearnSpelling
- | ContextMenuActionIgnoreGrammar
- | ContextMenuActionFontMenu
- | ContextMenuActionBold
- | ContextMenuActionItalic
- | ContextMenuActionUnderline
- | ContextMenuActionOutline
- | ContextMenuActionInspectElement
- | ContextMenuActionOpenVideoInNewWindow
- | ContextMenuActionOpenAudioInNewWindow
- | ContextMenuActionCopyVideoLinkToClipboard
- | ContextMenuActionCopyAudioLinkToClipboard
- | ContextMenuActionToggleMediaControls
- | ContextMenuActionToggleMediaLoop
- | ContextMenuActionEnterVideoFullscreen
- | ContextMenuActionMediaPlay
- | ContextMenuActionMediaPause
- | ContextMenuActionMediaMute
- | ContextMenuActionDownloadVideoToDisk
- | ContextMenuActionDownloadAudioToDisk
- | ContextMenuActionCustom
- | AnotherContextMenuAction Int
- data CookieAcceptPolicy
- data CookiePersistentStorage
- data CredentialPersistence
- data DownloadError
- catchDownloadError :: IO a -> (DownloadError -> GErrorMessage -> IO a) -> IO a
- handleDownloadError :: (DownloadError -> GErrorMessage -> IO a) -> IO a -> IO a
- data FaviconDatabaseError
- catchFaviconDatabaseError :: IO a -> (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a
- handleFaviconDatabaseError :: (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a -> IO a
- data HardwareAccelerationPolicy
- data InsecureContentEvent
- data JavascriptError
- catchJavascriptError :: IO a -> (JavascriptError -> GErrorMessage -> IO a) -> IO a
- handleJavascriptError :: (JavascriptError -> GErrorMessage -> IO a) -> IO a -> IO a
- data LoadEvent
- data NavigationType
- data NetworkError
- catchNetworkError :: IO a -> (NetworkError -> GErrorMessage -> IO a) -> IO a
- handleNetworkError :: (NetworkError -> GErrorMessage -> IO a) -> IO a -> IO a
- data NetworkProxyMode
- data PluginError
- catchPluginError :: IO a -> (PluginError -> GErrorMessage -> IO a) -> IO a
- handlePluginError :: (PluginError -> GErrorMessage -> IO a) -> IO a -> IO a
- data PolicyDecisionType
- data PolicyError
- catchPolicyError :: IO a -> (PolicyError -> GErrorMessage -> IO a) -> IO a
- handlePolicyError :: (PolicyError -> GErrorMessage -> IO a) -> IO a -> IO a
- data PrintError
- catchPrintError :: IO a -> (PrintError -> GErrorMessage -> IO a) -> IO a
- handlePrintError :: (PrintError -> GErrorMessage -> IO a) -> IO a -> IO a
- data PrintOperationResponse
- data ProcessModel
- data SaveMode
- data ScriptDialogType
- data SnapshotError
- catchSnapshotError :: IO a -> (SnapshotError -> GErrorMessage -> IO a) -> IO a
- handleSnapshotError :: (SnapshotError -> GErrorMessage -> IO a) -> IO a -> IO a
- data SnapshotRegion
- data TLSErrorsPolicy
- data UserContentFilterError
- catchUserContentFilterError :: IO a -> (UserContentFilterError -> GErrorMessage -> IO a) -> IO a
- handleUserContentFilterError :: (UserContentFilterError -> GErrorMessage -> IO a) -> IO a -> IO a
- data UserContentInjectedFrames
- data UserScriptInjectionTime
- data UserStyleLevel
- data WebProcessTerminationReason
Enumerations
AuthenticationScheme
data AuthenticationScheme Source #
Enum values representing the authentication scheme.
Since: 2.2
AuthenticationSchemeDefault | The default authentication scheme of WebKit. |
AuthenticationSchemeHttpBasic | Basic authentication scheme as defined in RFC 2617. |
AuthenticationSchemeHttpDigest | Digest authentication scheme as defined in RFC 2617. |
AuthenticationSchemeHtmlForm | HTML Form authentication. |
AuthenticationSchemeNtlm | NTLM Microsoft proprietary authentication scheme. |
AuthenticationSchemeNegotiate | Negotiate (or SPNEGO) authentication scheme as defined in RFC 4559. |
AuthenticationSchemeClientCertificateRequested | Client Certificate Authentication (see RFC 2246). |
AuthenticationSchemeServerTrustEvaluationRequested | Server Trust Authentication. |
AuthenticationSchemeUnknown | Authentication scheme unknown. |
AnotherAuthenticationScheme Int | Catch-all for unknown values |
Instances
CacheModel
data CacheModel Source #
Enum values used for determining the WebContext
cache model.
CacheModelDocumentViewer | Disable the cache completely, which substantially reduces memory usage. Useful for applications that only access a single local file, with no navigation to other pages. No remote resources will be cached. |
CacheModelWebBrowser | Improve document load speed substantially by caching a very large number of resources and previously viewed content. |
CacheModelDocumentBrowser | A cache model optimized for viewing a series of local files -- for example, a documentation viewer or a website designer. WebKit will cache a moderate number of resources. |
AnotherCacheModel Int | Catch-all for unknown values |
Instances
ContextMenuAction
data ContextMenuAction Source #
Enum values used to denote the stock actions for
ContextMenuItem
<!-- -->s
ContextMenuActionNoAction | No action, used by separator menu items. |
ContextMenuActionOpenLink | Open current link. |
ContextMenuActionOpenLinkInNewWindow | Open current link in a new window. |
ContextMenuActionDownloadLinkToDisk | Download link destination. |
ContextMenuActionCopyLinkToClipboard | Copy link location to the clipboard. |
ContextMenuActionOpenImageInNewWindow | Open current image in a new window. |
ContextMenuActionDownloadImageToDisk | Download current image. |
ContextMenuActionCopyImageToClipboard | Copy current image to the clipboard. |
ContextMenuActionCopyImageUrlToClipboard | Copy current image location to the clipboard. |
ContextMenuActionOpenFrameInNewWindow | Open current frame in a new window. |
ContextMenuActionGoBack | Load the previous history item. |
ContextMenuActionGoForward | Load the next history item. |
ContextMenuActionStop | Stop any ongoing loading operation. |
ContextMenuActionReload | Reload the contents of current view. |
ContextMenuActionCopy | Copy current selection the clipboard. |
ContextMenuActionCut | Cut current selection to the clipboard. |
ContextMenuActionPaste | Paste clipboard contents. |
ContextMenuActionDelete | Delete current selection. |
ContextMenuActionSelectAll | Select all text. |
ContextMenuActionInputMethods | Input methods menu. |
ContextMenuActionUnicode | Unicode menu. |
ContextMenuActionSpellingGuess | A proposed replacement for a misspelled word. |
ContextMenuActionNoGuessesFound | An indicator that spellchecking found no proposed replacements. |
ContextMenuActionIgnoreSpelling | Causes the spellchecker to ignore the word for this session. |
ContextMenuActionLearnSpelling | Causes the spellchecker to add the word to the dictionary. |
ContextMenuActionIgnoreGrammar | Ignore grammar. |
ContextMenuActionFontMenu | Font options menu. |
ContextMenuActionBold | Bold. |
ContextMenuActionItalic | Italic. |
ContextMenuActionUnderline | Underline. |
ContextMenuActionOutline | Outline. |
ContextMenuActionInspectElement | Open current element in the inspector. |
ContextMenuActionOpenVideoInNewWindow | Open current video element in a new window. |
ContextMenuActionOpenAudioInNewWindow | Open current audio element in a new window. |
ContextMenuActionCopyVideoLinkToClipboard | Copy video link location in to the clipboard. |
ContextMenuActionCopyAudioLinkToClipboard | Copy audio link location in to the clipboard. |
ContextMenuActionToggleMediaControls | Enable or disable media controls. |
ContextMenuActionToggleMediaLoop | Enable or disable media loop. |
ContextMenuActionEnterVideoFullscreen | Show current video element in fullscreen mode. |
ContextMenuActionMediaPlay | Play current media element. |
ContextMenuActionMediaPause | Pause current media element. |
ContextMenuActionMediaMute | Mute current media element. |
ContextMenuActionDownloadVideoToDisk | Download video to disk. Since 2.2 |
ContextMenuActionDownloadAudioToDisk | Download audio to disk. Since 2.2 |
ContextMenuActionCustom | Custom action defined by applications. |
AnotherContextMenuAction Int | Catch-all for unknown values |
Instances
CookieAcceptPolicy
data CookieAcceptPolicy Source #
Enum values used to denote the cookie acceptance policies.
CookieAcceptPolicyAlways | Accept all cookies unconditionally. |
CookieAcceptPolicyNever | Reject all cookies unconditionally. |
CookieAcceptPolicyNoThirdParty | Accept only cookies set by the main document loaded. |
AnotherCookieAcceptPolicy Int | Catch-all for unknown values |
Instances
CookiePersistentStorage
data CookiePersistentStorage Source #
Enum values used to denote the cookie persistent storage types.
CookiePersistentStorageText | Cookies are stored in a text file in the Mozilla "cookies.txt" format. |
CookiePersistentStorageSqlite | Cookies are stored in a SQLite file in the current Mozilla format. |
AnotherCookiePersistentStorage Int | Catch-all for unknown values |
Instances
CredentialPersistence
data CredentialPersistence Source #
Enum values representing the duration for which a credential persists.
Since: 2.2
CredentialPersistenceNone | Credential does not persist |
CredentialPersistenceForSession | Credential persists for session only |
CredentialPersistencePermanent | Credential persists permanently |
AnotherCredentialPersistence Int | Catch-all for unknown values |
Instances
DownloadError
data DownloadError Source #
Enum values used to denote the various download errors.
DownloadErrorNetwork | Download failure due to network error |
DownloadErrorCancelledByUser | Download was cancelled by user |
DownloadErrorDestination | Download failure due to destination error |
AnotherDownloadError Int | Catch-all for unknown values |
Instances
catchDownloadError :: IO a -> (DownloadError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type DownloadError
. This is a specialized version of catchGErrorJustDomain
.
handleDownloadError :: (DownloadError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type DownloadError
. This is a specialized version of handleGErrorJustDomain
.
FaviconDatabaseError
data FaviconDatabaseError Source #
Enum values used to denote the various errors related to the FaviconDatabase
.
FaviconDatabaseErrorNotInitialized | The |
FaviconDatabaseErrorFaviconNotFound | There is not an icon available for the requested URL |
FaviconDatabaseErrorFaviconUnknown | There might be an icon for the requested URL, but its data is unknown at the moment |
AnotherFaviconDatabaseError Int | Catch-all for unknown values |
Instances
catchFaviconDatabaseError :: IO a -> (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type FaviconDatabaseError
. This is a specialized version of catchGErrorJustDomain
.
handleFaviconDatabaseError :: (FaviconDatabaseError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type FaviconDatabaseError
. This is a specialized version of handleGErrorJustDomain
.
HardwareAccelerationPolicy
data HardwareAccelerationPolicy Source #
Enum values used for determining the hardware acceleration policy.
Since: 2.16
HardwareAccelerationPolicyOnDemand | Hardware acceleration is enabled/disabled as request by web contents. |
HardwareAccelerationPolicyAlways | Hardware acceleration is always enabled, even for websites not requesting it. |
HardwareAccelerationPolicyNever | Hardware acceleration is always disabled, even for websites requesting it. |
AnotherHardwareAccelerationPolicy Int | Catch-all for unknown values |
Instances
InsecureContentEvent
data InsecureContentEvent Source #
Enum values used to denote the different events which can trigger the detection of insecure content.
InsecureContentEventRun | Insecure content has been detected by trying to execute any kind of logic (e.g. a script) from an untrusted source. |
InsecureContentEventDisplayed | Insecure content has been detected by trying to display any kind of resource (e.g. an image) from an untrusted source. |
AnotherInsecureContentEvent Int | Catch-all for unknown values |
Instances
JavascriptError
data JavascriptError Source #
Enum values used to denote errors happening when executing JavaScript
JavascriptErrorFailed | An exception was raised in JavaScript execution |
AnotherJavascriptError Int | Catch-all for unknown values |
Instances
catchJavascriptError :: IO a -> (JavascriptError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type JavascriptError
. This is a specialized version of catchGErrorJustDomain
.
handleJavascriptError :: (JavascriptError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type JavascriptError
. This is a specialized version of handleGErrorJustDomain
.
LoadEvent
Enum values used to denote the different events that happen during a
WebView
load operation.
LoadEventStarted | A new load request has been made. No data has been received yet, empty structures have been allocated to perform the load; the load may still fail due to transport issues such as not being able to resolve a name, or connect to a port. |
LoadEventRedirected | A provisional data source received a server redirect. |
LoadEventCommitted | The content started arriving for a page load. The necessary transport requirements are established, and the load is being performed. |
LoadEventFinished | Load completed. All resources are done loading or there was an error during the load operation. |
AnotherLoadEvent Int | Catch-all for unknown values |
Instances
Enum LoadEvent Source # | |
Defined in GI.WebKit2.Enums succ :: LoadEvent -> LoadEvent # pred :: LoadEvent -> LoadEvent # fromEnum :: LoadEvent -> Int # enumFrom :: LoadEvent -> [LoadEvent] # enumFromThen :: LoadEvent -> LoadEvent -> [LoadEvent] # enumFromTo :: LoadEvent -> LoadEvent -> [LoadEvent] # enumFromThenTo :: LoadEvent -> LoadEvent -> LoadEvent -> [LoadEvent] # | |
Eq LoadEvent Source # | |
Ord LoadEvent Source # | |
Defined in GI.WebKit2.Enums | |
Show LoadEvent Source # | |
BoxedEnum LoadEvent Source # | |
Defined in GI.WebKit2.Enums boxedEnumType :: LoadEvent -> IO GType # |
NavigationType
data NavigationType Source #
Enum values used to denote the various navigation types.
NavigationTypeLinkClicked | The navigation was triggered by clicking a link. |
NavigationTypeFormSubmitted | The navigation was triggered by submitting a form. |
NavigationTypeBackForward | The navigation was triggered by navigating forward or backward. |
NavigationTypeReload | The navigation was triggered by reloading. |
NavigationTypeFormResubmitted | The navigation was triggered by resubmitting a form. |
NavigationTypeOther | The navigation was triggered by some other action. |
AnotherNavigationType Int | Catch-all for unknown values |
NetworkError
data NetworkError Source #
Enum values used to denote the various network errors.
NetworkErrorFailed | Generic load failure |
NetworkErrorTransport | Load failure due to transport error |
NetworkErrorUnknownProtocol | Load failure due to unknown protocol |
NetworkErrorCancelled | Load failure due to cancellation |
NetworkErrorFileDoesNotExist | Load failure due to missing file |
AnotherNetworkError Int | Catch-all for unknown values |
Instances
catchNetworkError :: IO a -> (NetworkError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type NetworkError
. This is a specialized version of catchGErrorJustDomain
.
handleNetworkError :: (NetworkError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type NetworkError
. This is a specialized version of handleGErrorJustDomain
.
NetworkProxyMode
data NetworkProxyMode Source #
Enum values used to set the network proxy mode.
Since: 2.16
NetworkProxyModeDefault | Use the default proxy of the system. |
NetworkProxyModeNoProxy | Do not use any proxy. |
NetworkProxyModeCustom | Use custom proxy settings. |
AnotherNetworkProxyMode Int | Catch-all for unknown values |
Instances
PluginError
data PluginError Source #
Enum values used to denote the various plugin errors.
PluginErrorFailed | Generic plugin load failure |
PluginErrorCannotFindPlugin | Load failure due to missing plugin |
PluginErrorCannotLoadPlugin | Load failure due to inability to load plugin |
PluginErrorJavaUnavailable | Load failure due to missing Java support that is required to load plugin |
PluginErrorConnectionCancelled | Load failure due to connection cancellation |
PluginErrorWillHandleLoad | Load failure since plugin handles the load |
AnotherPluginError Int | Catch-all for unknown values |
Instances
catchPluginError :: IO a -> (PluginError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type PluginError
. This is a specialized version of catchGErrorJustDomain
.
handlePluginError :: (PluginError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type PluginError
. This is a specialized version of handleGErrorJustDomain
.
PolicyDecisionType
data PolicyDecisionType Source #
Enum values used for determining the type of a policy decision during
WebView
::decide-policy
.
PolicyDecisionTypeNavigationAction | This type of policy decision
is requested when WebKit is about to navigate to a new page in either the
main frame or a subframe. Acceptable policy decisions are either
|
PolicyDecisionTypeNewWindowAction | This type of policy decision
is requested when WebKit is about to create a new window. Acceptable policy
decisions are either |
PolicyDecisionTypeResponse | This type of decision is used when WebKit has
received a response for a network resource and is about to start the load.
Note that these resources include all subresources of a page such as images
and stylesheets as well as main documents. Appropriate policy responses to
this decision are |
AnotherPolicyDecisionType Int | Catch-all for unknown values |
Instances
PolicyError
data PolicyError Source #
Enum values used to denote the various policy errors.
PolicyErrorFailed | Generic load failure due to policy error |
PolicyErrorCannotShowMimeType | Load failure due to unsupported mime type |
PolicyErrorCannotShowUri | Load failure due to URI that can not be shown |
PolicyErrorFrameLoadInterruptedByPolicyChange | Load failure due to frame load interruption by policy change |
PolicyErrorCannotUseRestrictedPort | Load failure due to port restriction |
AnotherPolicyError Int | Catch-all for unknown values |
Instances
catchPolicyError :: IO a -> (PolicyError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type PolicyError
. This is a specialized version of catchGErrorJustDomain
.
handlePolicyError :: (PolicyError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type PolicyError
. This is a specialized version of handleGErrorJustDomain
.
PrintError
data PrintError Source #
Enum values used to denote the various print errors.
PrintErrorGeneral | Unspecified error during a print operation |
PrintErrorPrinterNotFound | Selected printer cannot be found |
PrintErrorInvalidPageRange | Invalid page range |
AnotherPrintError Int | Catch-all for unknown values |
Instances
catchPrintError :: IO a -> (PrintError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type PrintError
. This is a specialized version of catchGErrorJustDomain
.
handlePrintError :: (PrintError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type PrintError
. This is a specialized version of handleGErrorJustDomain
.
PrintOperationResponse
data PrintOperationResponse Source #
Enum values representing the response of the print dialog shown with
printOperationRunDialog
.
PrintOperationResponsePrint | Print button was clicked in print dialog |
PrintOperationResponseCancel | Print dialog was cancelled |
AnotherPrintOperationResponse Int | Catch-all for unknown values |
Instances
ProcessModel
data ProcessModel Source #
Enum values used for determining the WebContext
process model.
Since: 2.4
ProcessModelSharedSecondaryProcess | Use a single process to
perform content rendering. The process is shared among all the
|
ProcessModelMultipleSecondaryProcesses | Use one process
for each |
AnotherProcessModel Int | Catch-all for unknown values |
Instances
SaveMode
Enum values to specify the different ways in which a WebView
can save its current web page into a self-contained file.
SaveModeMhtml | Save the current page using the MHTML format. |
AnotherSaveMode Int | Catch-all for unknown values |
Instances
Enum SaveMode Source # | |
Eq SaveMode Source # | |
Ord SaveMode Source # | |
Defined in GI.WebKit2.Enums | |
Show SaveMode Source # | |
BoxedEnum SaveMode Source # | |
Defined in GI.WebKit2.Enums boxedEnumType :: SaveMode -> IO GType # |
ScriptDialogType
data ScriptDialogType Source #
Enum values used for determining the type of ScriptDialog
ScriptDialogTypeAlert | Alert script dialog, used to show a message to the user. |
ScriptDialogTypeConfirm | Confirm script dialog, used to ask confirmation to the user. |
ScriptDialogTypePrompt | Prompt script dialog, used to ask information to the user. |
ScriptDialogTypeBeforeUnloadConfirm | Before unload confirm dialog, used to ask confirmation to leave the current page to the user. Since 2.12 |
AnotherScriptDialogType Int | Catch-all for unknown values |
Instances
SnapshotError
data SnapshotError Source #
Enum values used to denote errors happening when creating snapshots of WebView
SnapshotErrorCreate | An error occurred when creating a webpage snapshot. |
AnotherSnapshotError Int | Catch-all for unknown values |
Instances
catchSnapshotError :: IO a -> (SnapshotError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type SnapshotError
. This is a specialized version of catchGErrorJustDomain
.
handleSnapshotError :: (SnapshotError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type SnapshotError
. This is a specialized version of handleGErrorJustDomain
.
SnapshotRegion
data SnapshotRegion Source #
Enum values used to specify the region from which to get a WebView
snapshot
SnapshotRegionVisible | Specifies a snapshot only for the area that is visible in the webview |
SnapshotRegionFullDocument | A snapshot of the entire document. |
AnotherSnapshotRegion Int | Catch-all for unknown values |
Instances
TLSErrorsPolicy
data TLSErrorsPolicy Source #
Enum values used to denote the TLS errors policy.
TLSErrorsPolicyIgnore | Ignore TLS errors. |
TLSErrorsPolicyFail | TLS errors will emit
|
AnotherTLSErrorsPolicy Int | Catch-all for unknown values |
Instances
UserContentFilterError
data UserContentFilterError Source #
No description available in the introspection data.
Since: 2.24
UserContentFilterErrorInvalidSource | The JSON source for a content filter is invalid. |
UserContentFilterErrorNotFound | The requested content filter could not be found. |
AnotherUserContentFilterError Int | Catch-all for unknown values |
Instances
catchUserContentFilterError :: IO a -> (UserContentFilterError -> GErrorMessage -> IO a) -> IO a Source #
Catch exceptions of type UserContentFilterError
. This is a specialized version of catchGErrorJustDomain
.
handleUserContentFilterError :: (UserContentFilterError -> GErrorMessage -> IO a) -> IO a -> IO a Source #
Handle exceptions of type UserContentFilterError
. This is a specialized version of handleGErrorJustDomain
.
UserContentInjectedFrames
data UserContentInjectedFrames Source #
Specifies in which frames user style sheets are to be inserted in.
Since: 2.6
UserContentInjectedFramesAllFrames | Insert the user style sheet in all the frames loaded by the web view, including nested frames. This is the default. |
UserContentInjectedFramesTopFrame | Insert the user style sheet *only* in the top-level frame loaded by the web view, and *not* in the nested frames. |
AnotherUserContentInjectedFrames Int | Catch-all for unknown values |
Instances
UserScriptInjectionTime
data UserScriptInjectionTime Source #
Specifies at which place of documents an user script will be inserted.
Since: 2.6
UserScriptInjectionTimeStart | Insert the code of the user script at the beginning of loaded documents. This is the default. |
UserScriptInjectionTimeEnd | Insert the code of the user script at the end of the loaded documents. |
AnotherUserScriptInjectionTime Int | Catch-all for unknown values |
Instances
UserStyleLevel
data UserStyleLevel Source #
Specifies how to treat an user style sheet.
Since: 2.6
UserStyleLevelUser | The style sheet is an user style sheet, its contents always override other style sheets. This is the default. |
UserStyleLevelAuthor | The style sheet will be treated as if it was provided by the loaded documents. That means other user style sheets may still override it. |
AnotherUserStyleLevel Int | Catch-all for unknown values |
Instances
WebProcessTerminationReason
data WebProcessTerminationReason Source #
Enum values used to specify the reason why the web process terminated abnormally.
Since: 2.20
WebProcessTerminationReasonCrashed | the web process crashed. |
WebProcessTerminationReasonExceededMemoryLimit | the web process exceeded the memory limit. |
AnotherWebProcessTerminationReason Int | Catch-all for unknown values |