Changeset 145508 in webkit
- Timestamp:
- Mar 12, 2013 3:07:32 AM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r145485 r145508 1 2013-03-12 Manuel Rego Casasnovas <rego@igalia.com> 2 3 [GTK][WK2] REGRESSION(r145081): Unit tests not working if locale is not English 4 https://bugs.webkit.org/show_bug.cgi?id=111973 5 6 Reviewed by Carlos Garcia Campos. 7 8 The problem is that the UIProcess locale is reseted to C in 9 gtk_test_init, however the WebProcess does not inherit the locale set in 10 the UIProcess and it uses the system one (that could be different to 11 English). So, there were problems in some tests that are comparing 12 strings from both processes like WebKit2APITests/TestPrinting and 13 WebKit2APITests/TestWebKitWebContext. The solution is to set the locale 14 environment variable LC_ALL to C in order to reset WebProcess locale 15 too. 16 17 * UIProcess/API/gtk/tests/TestMain.cpp: 18 (main): Set environment variable LC_ALL to C. 19 1 20 2013-03-11 Brady Eidson <beidson@apple.com> 2 21 -
trunk/Source/WebKit2/UIProcess/API/gtk/tests/TestMain.cpp
r139305 r145508 41 41 g_setenv("WEBKIT_EXEC_PATH", WEBKIT_EXEC_PATH, FALSE); 42 42 g_setenv("WEBKIT_INJECTED_BUNDLE_PATH", WEBKIT_INJECTED_BUNDLE_PATH, FALSE); 43 g_setenv("LC_ALL", "C", TRUE); 43 44 g_test_bug_base("https://bugs.webkit.org/"); 44 45
Note: See TracChangeset
for help on using the changeset viewer.