Enumeration

WebKitWebExtensionContextError

unstable since: 2.56

Declaration

error-domain WebKit.WebExtensionContextError

Description [src]

Enum values used to denote errors happening when loading a WebKitWebExtensionContext.

Available since: 2.56

Members

WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_UNKNOWN

An unknown error occurred.

  • Value: 999
  • Nickname: unknown
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_ALREADY_LOADED

The context is already loaded by a controller.

  • Value: 900
  • Nickname: already-loaded
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_NOT_LOADED

The context is not loaded by a controller.

  • Value: 901
  • Nickname: not-loaded
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_BASE_URL_ALREADY_IN_USE

Another context is already using the specified base URL.

  • Value: 902
  • Nickname: base-url-already-in-use
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_NO_BACKGROUND_CONTENT

The extension does not have background content.

  • Value: 903
  • Nickname: no-background-content
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_BACKGROUND_CONTENT_FAILED_TO_LOAD

An error occurred when loading the background content.

  • Value: 904
  • Nickname: background-content-failed-to-load
  • Available since: 2.56
WEBKIT_WEB_EXTENSION_CONTEXT_ERROR_SCRIPT_EXECUTION

A script error occurred, such as an uncaught exception, unhandled promise rejection, or a call to console.error().

  • Value: 905
  • Nickname: script-execution
  • Available since: 2.56

Type functions

webkit_web_extension_context_error_quark

Gets the quark for the domain of Web Extension Context errors.

unstable since: 2.56