7 Functions

Procedure: download-error-quark ⇒ %return

Gets the quark for the domain of download errors.

%return

Returned: an unsigned 32-bit integer.

download error domain.

Procedure: favicon-database-error-quark ⇒ %return

Gets the quark for the domain of favicon database errors.

%return

Returned: an unsigned 32-bit integer.

favicon database error domain.

Procedure: get-major-version ⇒ %return

Returns the major version number of the WebKit library.

(e.g. in WebKit version 1.8.3 this is 1.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the WEBKIT_MAJOR_VERSION macro, which represents the major version of the WebKit headers you have included when compiling your code.

%return

Returned: an unsigned 32-bit integer.

the major version number of the WebKit library

Procedure: get-micro-version ⇒ %return

Returns the micro version number of the WebKit library.

(e.g. in WebKit version 1.8.3 this is 3.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the WEBKIT_MICRO_VERSION macro, which represents the micro version of the WebKit headers you have included when compiling your code.

%return

Returned: an unsigned 32-bit integer.

the micro version number of the WebKit library

Procedure: get-minor-version ⇒ %return

Returns the minor version number of the WebKit library.

(e.g. in WebKit version 1.8.3 this is 8.)

This function is in the library, so it represents the WebKit library your code is running against. Contrast with the WEBKIT_MINOR_VERSION macro, which represents the minor version of the WebKit headers you have included when compiling your code.

%return

Returned: an unsigned 32-bit integer.

the minor version number of the WebKit library

Procedure: javascript-error-quark ⇒ %return

Gets the quark for the domain of JavaScript errors.

%return

Returned: an unsigned 32-bit integer.

JavaScript error domain.

Procedure: media-error-quark ⇒ %return

Gets the quark for the domain of media errors.

%return

Returned: an unsigned 32-bit integer.

media error domin.

Procedure: media-key-system-permission-get-name request ⇒ %return

Get the key system for which access permission is being requested.

request

Passed: a <WebKitMediaKeySystemPermissionRequest>.

a <WebKitMediaKeySystemPermissionRequest>

%return

Returned: a string.

the key system name for request

Procedure: network-error-quark ⇒ %return

Gets the quark for the domain of networking errors.

%return

Returned: an unsigned 32-bit integer.

network error domain.

Procedure: policy-error-quark ⇒ %return

Gets the quark for the domain of policy errors.

%return

Returned: an unsigned 32-bit integer.

policy error domain.

Procedure: print-error-quark ⇒ %return

Gets the quark for the domain of printing errors.

%return

Returned: an unsigned 32-bit integer.

print error domain.

Procedure: snapshot-error-quark ⇒ %return

Gets the quark for the domain of page snapshot errors.

%return

Returned: an unsigned 32-bit integer.

snapshot error domain.

Procedure: uri-for-display uri ⇒ %return

Use this function to format a URI for display.

The URIs used internally by WebKit may contain percent-encoded characters or Punycode, which are not generally suitable to display to users. This function provides protection against IDN homograph attacks, so in some cases the host part of the returned URI may be in Punycode if the safety check fails.

uri

Passed: a string.

the URI to be converted

%return

Returned: a string, or #f.

uri suitable for display, or #f in case of error.

Procedure: user-content-filter-error-quark ⇒ %return

Gets the quark for the domain of user content filter errors.

%return

Returned: an unsigned 32-bit integer.

user content filter error domain.

Procedure: user-media-permission-is-for-audio-device? request ⇒ %return

Check whether the permission request is for an audio device.

request

Passed: a <WebKitUserMediaPermissionRequest>.

a <WebKitUserMediaPermissionRequest>

%return

Returned: a boolean.

#t if access to an audio device was requested.

Procedure: user-media-permission-is-for-display-device? request ⇒ %return

Check whether the permission request is for a display device.

request

Passed: a <WebKitUserMediaPermissionRequest>.

a <WebKitUserMediaPermissionRequest>

%return

Returned: a boolean.

#t if access to a display device was requested.

Procedure: user-media-permission-is-for-video-device? request ⇒ %return

Check whether the permission request is for a video device.

request

Passed: a <WebKitUserMediaPermissionRequest>.

a <WebKitUserMediaPermissionRequest>

%return

Returned: a boolean.

#t if access to a video device was requested.

Procedure: user-message-error-quark ⇒ %return

Gets the quark for the domain of user message errors.

%return

Returned: an unsigned 32-bit integer.

user message error domain.

Procedure: web-extension-error-quark ⇒ %return

Gets the quark for the domain of Web Extension errors.

%return

Returned: an unsigned 32-bit integer.

web extension error domain.

Procedure: web-extension-match-pattern-error-quark ⇒ %return

Gets the quark for the domain of Web Extension Match Pattern errors.

%return

Returned: an unsigned 32-bit integer.

web extension match pattern error domain.

Procedure: web-extension-match-pattern-register-custom-url-scheme url-scheme

Registers a custom URL scheme that can be used in match patterns.

This method should be used to register any custom URL schemes used by the app for the extension base URLs, other than webkit-extension, or if extensions should have access to other supported URL schemes when using <all_urls>.

url-scheme

Passed: a string.

The custom URL scheme to register