[Webkit-unassigned] [Bug 111973] [GTK][WK2] REGRESSION(r145081): Unit tests not working if locale is not English

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 11 05:17:05 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=111973





--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com>  2013-03-11 05:19:30 PST ---
(From update of attachment 192439)
View in context: https://bugs.webkit.org/attachment.cgi?id=192439&action=review

LGTM, thanks!

> Source/WebKit2/ChangeLog:8
> +        Fix unit tests setting the environment variable LC_ALL to C.

Please explain here that the problem is that the web process doesn't inherit the locale set in the UI process and uses the system one. In the UI process gtk_test_init call setlocale to reset the locale, but that's not inherited by the web process and we end up with a different locale used by UI and web processes. This is only a problem in some of the tests like the context menu and printing one where we compare strings from both processes.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list