RESOLVED FIXED 30811
REGRESSION(49818): Tiger fails new fast/js/navigator-language.html test
https://bugs.webkit.org/show_bug.cgi?id=30811
Summary REGRESSION(49818): Tiger fails new fast/js/navigator-language.html test
Eric Seidel (no email)
Reported 2009-10-27 02:50:42 PDT
http://build.webkit.org/results/Tiger%20Intel%20Release/r50133%20(5583)/results.html http://trac.webkit.org/browser/trunk/LayoutTests/fast/js/navigator-language.html Tiger returns "en" instead of "en-us" as expected. We could fix the Tiger codepath, or easier would be to just update the Tiger results.
Attachments
fix regression (1.18 KB, patch)
2009-10-28 07:04 PDT, Chang Shu
eric: review-
commit-queue: commit-queue-
fix result content (1.20 KB, patch)
2009-10-28 09:57 PDT, Chang Shu
no flags
Eric Seidel (no email)
Comment 1 2009-10-27 17:26:08 PDT
Eric Seidel (no email)
Comment 2 2009-10-27 17:47:30 PDT
Here is the file for the mac: http://trac.webkit.org/browser/trunk/WebCore/platform/mac/Language.mm The implementation is in WebKit: http://trac.webkit.org/browser/trunk/WebKit/mac/WebCoreSupport/WebViewFactory.mm#L129 Which calls through to here: http://trac.webkit.org/browser/trunk/WebKit/mac/Misc/WebNSUserDefaultsExtras.m I'm not sure what part of that ends up different on Tiger though. None of it is special-cased for Tiger. It's possible that "WKCopyCFLocalizationPreferredName" has a special Tiger implementation and thus is the root of the difference here. Again, for now I think we should just check in the "failing" result for Tiger.
Eric Seidel (no email)
Comment 3 2009-10-27 17:49:29 PDT
Really someone at Apple should confirm that we don't care about Tiger being different here. I expect we don't.
Chang Shu
Comment 4 2009-10-28 06:23:20 PDT
(In reply to comment #3) > Really someone at Apple should confirm that we don't care about Tiger being > different here. I expect we don't. Eric, I can add the special expected result for Tiger.
Chang Shu
Comment 5 2009-10-28 07:04:03 PDT
Created attachment 42025 [details] fix regression
WebKit Commit Bot
Comment 6 2009-10-28 09:35:35 PDT
Comment on attachment 42025 [details] fix regression Rejecting patch 42025 from commit-queue. Chang.Shu@nokia.com does not have committer permissions according to http://trac.webkit.org/browser/trunk/WebKitTools/Scripts/modules/committers.py.
Eric Seidel (no email)
Comment 7 2009-10-28 09:48:37 PDT
Comment on attachment 42025 [details] fix regression This result looks wrong? I don't see how Tiger would produce this result. It's going to say FAIL instead of PASS. You should pull the result off the tiger bot instead of creating it by hand. http://build.webkit.org/results/Tiger%20Intel%20Release/r50217%20(5641)/fast/js/navigator-language-actual.txt
Chang Shu
Comment 8 2009-10-28 09:51:35 PDT
(In reply to comment #7) > (From update of attachment 42025 [details]) > This result looks wrong? I don't see how Tiger would produce this result. > It's going to say FAIL instead of PASS. You should pull the result off the > tiger bot instead of creating it by hand. > http://build.webkit.org/results/Tiger%20Intel%20Release/r50217%20(5641)/fast/js/navigator-language-actual.txt You are right, Eric. Thanks!
Chang Shu
Comment 9 2009-10-28 09:57:23 PDT
Created attachment 42040 [details] fix result content
Eric Seidel (no email)
Comment 10 2009-10-28 09:59:53 PDT
Comment on attachment 42040 [details] fix result content LGTM. The commit-queue will close the bug. I'm not sure if we need a bug open about tiger's misbehavior here or not. I guess I'll assume not for now. If one of the apple folks feels otherwise they should feel free to re-open.
Eric Seidel (no email)
Comment 11 2009-10-28 10:00:29 PDT
Thank you very much for taking care of this Chang.
WebKit Commit Bot
Comment 12 2009-10-28 10:10:15 PDT
Comment on attachment 42040 [details] fix result content Clearing flags on attachment: 42040 Committed r50223: <http://trac.webkit.org/changeset/50223>
WebKit Commit Bot
Comment 13 2009-10-28 10:10:24 PDT
All reviewed patches have been landed. Closing bug.
Chang Shu
Comment 14 2009-10-28 10:24:13 PDT
(In reply to comment #11) > Thank you very much for taking care of this Chang. My pleasure. I usually panic when I see my patches cause regression. :)
Note You need to log in before you can comment on or make changes to this bug.