[Webkit-unassigned] [Bug 110604] New: [GTK] DumpRenderTree printing always NULL when asking about WEBKIT_TOP_LEVEL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 22 06:07:57 PST 2013


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

           Summary: [GTK] DumpRenderTree printing always NULL when asking
                    about WEBKIT_TOP_LEVEL
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: csaavedra at igalia.com


We have:

    if (fontsPath.isNull())
        g_error("Could not locate test fonts at %s. Is WEBKIT_TOP_LEVEL set?", fontsPath.data());


With fontsPath a CString. If CString::isNull() returns True, then CString.data() will return 0. So this *always* prints:

   "Could not locate test fonts at (null). Is WEBKIT_TOP_LEVEL set?"

This makes no sense.

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