[Webkit-unassigned] [Bug 30440] [GTK] Fails new test fast/js/navigator-language.html
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Oct 17 19:18:21 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30440
Jan Alonzo <jmalonzo at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jmalonzo at gmail.com
--- Comment #8 from Jan Alonzo <jmalonzo at gmail.com> 2009-10-17 19:18:20 PDT ---
(In reply to comment #3)
>
> Let me quote the important part here:
>
> Open a GTK-based browser and load page:
> http://testsuite.nokia-boston.com/content/esmp_nonESMP/navigatorObject/language1.asp
> actual result: language translation shows "en"
> expected result: language translation should show "en-US" or "en-us"
When I try to go to the site above, I get the expected "en-us"
(LANG=en_US.UTF-8). When I switch it to LANG=pl_PL.UTF-8, I get "pl-pl", which
is expected.
(In reply to comment #0)
> Created an attachment (id=41288)
--> (https://bugs.webkit.org/attachment.cgi?id=41288) [details]
> reimplementation of defaultLanguage
>
> This test is failing because GTK+/Pango don't support changing locale after the
> first gtk_init() call, thus our defaultLanguage() implementation always returns
> whatever you had when you first started. I am not really sure about the patch.
I think the test case needs to be expanded to include multiple calls to
setPOSIXLocale (which calls setlocale()) to be sure that defaultLanguage() is
doing the right thing.
--
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