[Webkit-unassigned] [Bug 30213] New: [Qt] Avoid ErrorPageExtensionOption to hold empty 'url' field

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 08:36:27 PDT 2009


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

           Summary: [Qt] Avoid ErrorPageExtensionOption to hold empty
                    'url' field
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: Qt
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tonikitoo at webkit.org
                CC: hausmann at webkit.org, kenneth at webkit.org


In some cases, QNetworkReplyHandler's m_reply holds an empty url.

m_reply->url(); <--- empty.

it happend for example in some non-successful page loads. e.g. if one do:

<quote>
frame>setUrl("http://any.thing.invalid.here/");
<quote/>

When it happens, the ResourceError passed up to FrameLoadClientQt by
QNetworkReplyHandle::finish (via MainResourceLoader -> DocumentLoader ->
FrameLoader) will fill ErrorPageExtensionOption's url field with an empty url.

it might not be a helpful situation for client application handling error pages
...

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