While writing an application that does not create a WebView early in its life, but that does all of the setup right away, I noticed my removal of the soup auth dialog feature was not having any effect. That is because webkit_init was not called much later, when the first WebView is created, and then adds the feature I tried to remove. I have solved this by creating, and destroying a WebView while setting up the session (ugh).
Created attachment 51907 [details]
Comment on attachment 51907 [details]
> +// Make sure the session is initialized properly when webkit_get_default_session() is called.
> +static void test_globals_default_session()
I think you want to call g_test_bug("36754"); here. Besides that the webkit_init call will call get_default_session and set_cache_model but that
is fine as we have an early exit in there.
Landed as r56916.