[Webkit-unassigned] [Bug 53487] New: [Gtk] No need to set encoding in the provisional phase

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 1 05:12:56 PST 2011


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

           Summary: [Gtk] No need to set encoding in the provisional phase
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joone at kldp.org


After loading a html document, other ports initialize the encoding setting, but WebKitGtk+ sets the same encoding again, even tries to set encoding in the provisional phase. This causes unnecessary encoding setting.

Please, take a look at the following code.
http://trac.webkit.org/browser/trunk/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp#L626
http://trac.webkit.org/browser/trunk/Source/WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp#L1028

This patch allows to skip the encoding setting in the cases like other ports such as Mac and Qt.

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