WebContext
Object Hierarchy:
Description:
Manages aspects common to all WebView<!-- -->s
The WebContext manages all aspects common to all WebView <!-- -->s.
You can define the CacheModel with set_cache_model, depending on the needs of your application. You can access the SecurityManager to specify the behaviour of your application regarding security using get_security_manager .
It is also possible to change your preferred language or enable spell checking, using set_preferred_languages, set_spell_checking_languages and set_spell_checking_enabled.
You can use register_uri_scheme to register custom URI schemes, and manage several other settings.
TLS certificate validation failure is now treated as a transport error by default. To handle TLS failures differently, you can connect to
load_failed_with_tls_errors. Alternatively, you can
use webkit_web_context_set_tls_errors_policy
to set the policy webkit_tls_errors_policy_ignore;
however, this is not appropriate for Internet applications.