Bug 46364

Summary: Add synchronous loading for network resources to ResourceHandleWin
Product: WebKit Reporter: Patrick R. Gansterer <paroga>
Component: PlatformAssignee: Patrick R. Gansterer <paroga>
Status: RESOLVED FIXED    
Severity: Normal CC: abarth, aroben, commit-queue, eric, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Bug Depends on:    
Bug Blocks: 43712    
Attachments:
Description Flags
Patch none

Description Patrick R. Gansterer 2010-09-23 09:49:31 PDT
see patch
Comment 1 Patrick R. Gansterer 2010-09-23 09:54:47 PDT
Created attachment 68534 [details]
Patch
Comment 2 WebKit Review Bot 2010-09-23 09:57:24 PDT
Attachment 68534 [details] did not pass style-queue:

Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
WebCore/platform/network/win/ResourceHandleWin.cpp:503:  One line control clauses should not use braces.  [whitespace/braces] [4]
Total errors found: 1 in 3 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Adam Roben (:aroben) 2010-09-23 10:43:02 PDT
Comment on attachment 68534 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=68534&action=review

> WebCore/platform/network/win/ResourceHandleWin.cpp:504
> +    if (d->m_loadSynchronously)
> +        while (onRequestComplete()) {
> +            // Loop until finished.
> +        }
> +

I would have expected onRequestComplete to return false when the request is not complete, and true when it is complete.
Comment 4 WebKit Commit Bot 2010-09-23 11:08:44 PDT
Comment on attachment 68534 [details]
Patch

Clearing flags on attachment: 68534

Committed r68167: <http://trac.webkit.org/changeset/68167>
Comment 5 WebKit Commit Bot 2010-09-23 11:08:48 PDT
All reviewed patches have been landed.  Closing bug.