[Webkit-unassigned] [Bug 29653] [Qt] Qt-based browser fails to show the right language translation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 9 14:38:47 PDT 2009


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





--- Comment #31 from Chang Shu <Chang.Shu at nokia.com>  2009-10-09 14:38:46 PDT ---
Yes. To make sure everything, I checked out a new copy, made the build from
scratch but I got the same error. The grep also shows the code is there. I am
not sure if running on qt-linux will make a difference.

[cshu at webkit.org.trunk.rel] grep setPOSIXLocale 
WebKitTools/DumpRenderTree/LayoutTestController.cpp
static JSValueRef setPOSIXLocaleCallback(JSContextRef context, JSObjectRef
function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef
arguments[], JSValueRef* exception)
    controller->setPOSIXLocale(locale.get());
        { "setPOSIXLocale", setPOSIXLocaleCallback,
kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete },
void LayoutTestController::setPOSIXLocale(JSStringRef locale)

(In reply to comment #30)
> (In reply to comment #29)
> > I updated to the latest webkit on linux and made the build. However I got the
> > following error when attempting to run either my html page or Evan's html page.
> > Anyone has a clue? Thanks!
> > 
> > WebKitBuild/Release/bin/DumpRenderTree --qt -o /home/cshu/LayoutTests/
> > LayoutTests/fast/css/opacity-float.html
> > CONSOLE MESSAGE: line 6: TypeError: Result of expression
> > 'layoutTestController.setPOSIXLocale' [undefined] is not a function.
> 
> Check that you have these definitions:
> 
> DumpRenderTree/LayoutTestController.cpp:static JSValueRef
> setPOSIXLocaleCallback(JSContextRef context, JSObjectRef 
> DumpRenderTree/LayoutTestController.cpp:   
> controller->setPOSIXLocale(locale.get());
> DumpRenderTree/LayoutTestController.cpp:        { "setPOSIXLocale",
> setPOSIXLocaleCallback, kJSPropertyAttributeRea
> DumpRenderTree/LayoutTestController.cpp:void
> LayoutTestController::setPOSIXLocale(JSStringRef locale)
> DumpRenderTree/LayoutTestController.h:    void setPOSIXLocale(JSStringRef
> locale);
> 
> And then check that this code is in your DRT build.

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