Lines Matching refs:userAgent
31 gchar* userAgent; in test_webkit_web_settings_user_agent() local
41 userAgent = NULL; in test_webkit_web_settings_user_agent()
43 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); in test_webkit_web_settings_user_agent()
44 g_assert_cmpstr(userAgent, ==, "testwebsettings/0.1"); in test_webkit_web_settings_user_agent()
45 g_free(userAgent); in test_webkit_web_settings_user_agent()
48 userAgent = NULL; in test_webkit_web_settings_user_agent()
50 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); in test_webkit_web_settings_user_agent()
51 g_assert_cmpstr(userAgent, ==, defaultUserAgent); in test_webkit_web_settings_user_agent()
52 g_free(userAgent); in test_webkit_web_settings_user_agent()
54 userAgent = NULL; in test_webkit_web_settings_user_agent()
56 g_object_get(G_OBJECT(settings),"user-agent", &userAgent, NULL); in test_webkit_web_settings_user_agent()
57 g_assert_cmpstr(userAgent, ==, defaultUserAgent); in test_webkit_web_settings_user_agent()
58 g_free(userAgent); in test_webkit_web_settings_user_agent()