Summary: | [WK2] Port RemoteNetworkingContext for Soup | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Balazs Kelemen <kbalazs> | ||||||||||||||||
Component: | WebKit2 | Assignee: | Kwang Yul Seo <skyul> | ||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||
Severity: | Normal | CC: | andersca, ap, buildbot, cgarcia, commit-queue, darin, gustavo, gyuyoung.kim, jesus, kenneth, laszlo.gombos, ossy, rniwa, skyul, svillar | ||||||||||||||||
Priority: | P2 | ||||||||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||||||||
Hardware: | Unspecified | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
Bug Depends on: | |||||||||||||||||||
Bug Blocks: | 108832, 118231 | ||||||||||||||||||
Attachments: |
|
Description
Balazs Kelemen
2013-02-18 01:58:13 PST
Being one of the active maintainers of the WK soup backend I'm interested in helping with this effort. (In reply to comment #1) > Being one of the active maintainers of the WK soup backend I'm interested in helping with this effort. Thanks. For now it will mostly be stubs and a bit of refactoring. Later we can implement private browsing sessions which probably requires more soup knowledge. Created attachment 188871 [details]
Patch
Created attachment 205782 [details]
Patch
(In reply to comment #4) Build fix as RemoteNetworkingContext::privateBrowsingSession is changed to return a pointer in r150537. Comment on attachment 205782 [details] Patch Attachment 205782 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1001366 Comment on attachment 205782 [details] Patch Attachment 205782 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/943930 Created attachment 205795 [details]
Patch
(In reply to comment #8) > Created an attachment (id=205795) [details] > Patch Mac build fix. RemoteNetworkingContext::storageSession() was mistakenly declared twice. Comment on attachment 205795 [details]
Patch
Seems fine. I'll let a Soup guy review, then will sign off.
(In reply to comment #10) > (From update of attachment 205795 [details]) > Seems fine. I'll let a Soup guy review, then will sign off. As this is mostly a refactoring and knowing that there is actually no specific soup code yet, I think you can safely sign off. CC'ing Gustavo Noronha Silva gns, would you review the patch please? Created attachment 209650 [details]
Patch
Updated to ToT: solved conflicts in project.pbxproj, removed the change in the non-existent SyncNetworkResourceLoader.cpp
Comment on attachment 209650 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=209650&action=review > Source/WebKit2/ChangeLog:23 > + * NetworkProcess/SyncNetworkResourceLoader.cpp: > + (WebKit::SyncNetworkResourceLoader::start): It should be removed. Created attachment 212710 [details]
Patch
Could you review this patch please? Comment on attachment 212710 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212710&action=review > Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h:34 > +class RemoteNetworkingContext : public WebCore::NetworkingContext { As long as you are touching this, should mark this class FINAL. > Source/WebKit2/NetworkProcess/RemoteNetworkingContext.h:54 > + RemoteNetworkingContext(bool privateBrowsingEnabled, bool shouldClearReferrerOnHTTPSToHTTPRedirect) > + : m_privateBrowsingEnabled(privateBrowsingEnabled) > + , m_shouldClearReferrerOnHTTPSToHTTPRedirect(shouldClearReferrerOnHTTPSToHTTPRedirect) > + { } This will leave m_needsSiteSpecificQuirks and m_localFileContentSniffingEnabled uninitialized on PLATFORM(MAC), which is not what we want. Created attachment 212794 [details]
Patch
Thanks for the review, I added the FINAL and fixed the initialization.
Comment on attachment 212794 [details] Patch Attachment 212794 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/2659113 Created attachment 212796 [details]
Patch
typo fixed
(In reply to comment #19) > Created an attachment (id=212794) [details] > Patch > > Thanks for the review, I added the FINAL and fixed the initialization. Darin, could you review the updated patch please? Could you review the fixed patch, please? Comment on attachment 212796 [details] Patch Clearing flags on attachment: 212796 Committed r157251: <http://trac.webkit.org/changeset/157251> All reviewed patches have been landed. Closing bug. |