[Webkit-unassigned] [Bug 81424] New: WebUIDelegate call should pass URL
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 16 15:48:43 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=81424
Summary: WebUIDelegate call should pass URL
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: lynn.neir at skype.net
Currently, call to createWebViewWithRequest passes null for request arg in WebFrameLoaderClient::dispatchCreatePage (WebKit/win/WebCoreSupport/WebFrameLoadClient.cpp).
Would like it to pass through URL (if available).
Current code:
...
COMPtr<IWebView> newWebView;
if (FAILED(ui->createWebViewWithRequest(webView, 0, &newWebView)))
return 0;
...
Proposed Change:
...
COMPtr<IWebMutableURLRequest> request(AdoptCOM, WebMutableURLRequest::createInstance());
if (!action.isEmpty())
{
BString urlBstr(action.url());
request->setURL(urlBstr);
}
COMPtr<IWebView> newWebView;
if (FAILED(ui->createWebViewWithRequest(webView, request.get(), &newWebView)))
return 0;
...
--
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