[Webkit-unassigned] [Bug 42682] WebKitTestRunner needs layoutTestController.setPOSIXLocale

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 28 17:59:05 PST 2011


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #80529|review?                     |review+
               Flag|                            |




--- Comment #3 from Darin Adler <darin at apple.com>  2011-01-28 17:59:05 PST ---
(From update of attachment 80529)
View in context: https://bugs.webkit.org/attachment.cgi?id=80529&action=review

> Tools/WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:378
> +    JSStringGetUTF8CString(locale, localeBuf, sizeof(localeBuf));
> +    setlocale(LC_ALL, localeBuf);

Would be nicer to safely do nothing if JSStringGetUTF8CString fails.

-- 
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