WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
UNCONFIRMED
81424
WebUIDelegate call should pass URL
https://bugs.webkit.org/show_bug.cgi?id=81424
Summary
WebUIDelegate call should pass URL
Lynn Neir
Reported
2012-03-16 15:48:43 PDT
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; ...
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug