Changeset 160481 in webkit
- Timestamp:
- Dec 12, 2013 1:17:23 AM (10 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r160480 r160481 1 2013-12-12 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] WebProcess tests are failing with newer glib 4 https://bugs.webkit.org/show_bug.cgi?id=125621 5 6 Reviewed by Martin Robinson. 7 8 Newer versions of glib unset the DISPLAY env variable in 9 g_test_dbus_up(). The WebProcess needs the DISPLAY variable to 10 work, and it's important to keep its value when running the tests 11 under Xvfb. 12 13 * UIProcess/API/gtk/tests/WebProcessTestRunner.cpp: 14 (WebProcessTestRunner::WebProcessTestRunner): Restore the DISPLAY 15 env variable after calling g_test_dbus_up(). 16 1 17 2013-12-12 Carlos Garcia Campos <cgarcia@igalia.com> 2 18 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/WebProcessTestRunner.cpp
r153327 r160481 27 27 , m_bus(adoptGRef(g_test_dbus_new(G_TEST_DBUS_NONE))) 28 28 { 29 // Save the DISPLAY env var to restore it after calling g_test_dbus_up() that unsets it. 30 // See https://bugs.webkit.org/show_bug.cgi?id=125621. 31 const char* display = g_getenv("DISPLAY"); 29 32 g_test_dbus_up(m_bus.get()); 33 g_setenv("DISPLAY", display, FALSE); 30 34 m_connection = adoptGRef(g_bus_get_sync(G_BUS_TYPE_SESSION, 0, 0)); 31 35 }
Note: See TracChangeset
for help on using the changeset viewer.