RESOLVED FIXED 92457
[BlackBerry] Update sendRequestWithCredentials to use new getProxyAddress interface
https://bugs.webkit.org/show_bug.cgi?id=92457
Summary [BlackBerry] Update sendRequestWithCredentials to use new getProxyAddress int...
Joe Mason
Reported 2012-07-26 22:22:35 PDT
BlackBerry::Platform::Client::getProxyAddress has been updated to return "host:port", instead of having two separate functions for host and port. Need to update NetworkJob to use the new API.
Attachments
patch (3.00 KB, patch)
2012-07-27 06:07 PDT, Joe Mason
no flags
fixed utf8/ascii (3.07 KB, patch)
2012-07-27 08:29 PDT, Joe Mason
no flags
ascii version with tab removed (3.08 KB, patch)
2012-07-27 08:48 PDT, Joe Mason
no flags
Joe Mason
Comment 1 2012-07-27 06:07:19 PDT
Yong Li
Comment 2 2012-07-27 08:12:28 PDT
Comment on attachment 154920 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=154920&action=review > Source/WebCore/platform/network/blackberry/NetworkJob.cpp:690 > + String proxyAddress = BlackBerry::Platform::Client::get()->getProxyAddress(newURL.string().utf8().data()).c_str(); Is latin1() any better than utf8() here?
Yong Li
Comment 3 2012-07-27 08:14:46 PDT
seems String::ascii() is good to use now.
Joe Mason
Comment 4 2012-07-27 08:29:32 PDT
Created attachment 154959 [details] fixed utf8/ascii Good catch. Changed to ascii
Joe Mason
Comment 5 2012-07-27 08:33:13 PDT
Comment on attachment 154920 [details] patch Putting both the utf8 and ascii versions up for review. Let the reviewers fight it out.
WebKit Review Bot
Comment 6 2012-07-27 08:34:29 PDT
Attachment 154959 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:12: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Yong Li
Comment 7 2012-07-27 08:38:04 PDT
Comment on attachment 154959 [details] fixed utf8/ascii cancel committing for now. there is style error
Joe Mason
Comment 8 2012-07-27 08:48:30 PDT
Created attachment 154965 [details] ascii version with tab removed Fixed style error
WebKit Review Bot
Comment 9 2012-07-27 08:58:19 PDT
Comment on attachment 154959 [details] fixed utf8/ascii Cleared Yong Li's review+ from obsolete attachment 154959 [details] so that this bug does not appear in http://webkit.org/pending-commit.
Joe Mason
Comment 10 2012-07-27 09:15:04 PDT
Comment on attachment 154920 [details] patch Clearing review flag as the other version is being committed
WebKit Review Bot
Comment 11 2012-07-27 11:05:02 PDT
Comment on attachment 154965 [details] ascii version with tab removed Clearing flags on attachment: 154965 Committed r123890: <http://trac.webkit.org/changeset/123890>
WebKit Review Bot
Comment 12 2012-07-27 11:05:05 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.