[Webkit-unassigned] [Bug 14326] New: FrameLoaderClient::objectContentType is passed an unresolved (incomplete) KURL

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 22 20:24:00 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14326

           Summary: FrameLoaderClient::objectContentType is passed an
                    unresolved (incomplete) KURL
           Product: WebKit
           Version: 522+ (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morganl.webkit at yahoo.com


FrameLoaderClient::objectContentType is passed an unresolved (incomplete) KURL

Test case:

<object data="foo/bar.png">

The FrameLoaderClient is given a KURL with url() equal to "foo/bar.png", which
the KURL reports as invalid.  It seems like the HTMLObjectElement should
complete its m_url at some point.

The HTML5 spec seems to suggest that we should complete the m_url so that it
can be provided as an absolute URL when accessed via the .data property. 
Firefox does this.  IE does not.  If we want to do that then the fix would
probably be to call document()->completeURL() in HTMLObjectElement::
parseMappedAttribute.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list