Bug 18484

Summary: WebKit passes an empty URL to QWebPluginFactory::create()
Product: WebKit Reporter: Benjamin Meyer <ben>
Component: WebKit QtAssignee: Ariya Hidayat <ariya.hidayat>
Status: RESOLVED FIXED    
Severity: Normal CC: ariya.hidayat, hausmann
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
sample web page
none
Sample code none

Benjamin Meyer
Reported 2008-04-14 03:38:07 PDT
This happens when the current page was set from a relative URL. See attached .cpp and .html. If I change the URL passed to QWebView::load() to be an absolute one (e.g. file:///home/khansen/index.html), the URL from the object tag is passed correctly. Since the URL in the object is already absolute, however, I don't see why it should be affected by whether the current page has an absolute URL or not.
Attachments
sample web page (174 bytes, text/html)
2008-04-14 03:38 PDT, Benjamin Meyer
no flags
Sample code (1.08 KB, text/x-c++src)
2008-04-14 03:39 PDT, Benjamin Meyer
no flags
Benjamin Meyer
Comment 1 2008-04-14 03:38:47 PDT
Created attachment 20524 [details] sample web page
Benjamin Meyer
Comment 2 2008-04-14 03:39:15 PDT
Created attachment 20525 [details] Sample code
Simon Hausmann
Comment 3 2008-04-29 06:08:19 PDT
Fixed in r32684
Note You need to log in before you can comment on or make changes to this bug.