Since we added support for localization in WebKit2GTK+ the unit tests didn't work if you are not using English locale.
Created attachment 192439 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 192439 [details] Patch 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.
Created attachment 192499 [details] Patch Upload new version with a better ChangeLog explaining the problem and the solution.
Comment on attachment 192499 [details] Patch Thanks!
Comment on attachment 192499 [details] Patch Clearing flags on attachment: 192499 Committed r145508: <http://trac.webkit.org/changeset/145508>
All reviewed patches have been landed. Closing bug.