[Webkit-unassigned] [Bug 62852] cannot handle status codes which have no response body

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 26 19:08:21 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62852


Keunsoon Lee <keunsoon.lee at samsung.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #102090|                            |review?, commit-queue?
               Flag|                            |




--- Comment #4 from Keunsoon Lee <keunsoon.lee at samsung.com>  2011-07-26 19:08:20 PST ---
Created an attachment (id=102090)
 --> (https://bugs.webkit.org/attachment.cgi?id=102090&action=review)
Add new FrameLoaderClient function to notify a case finished without response body.

Sorry for this late update.

Rough scenario for added flow is like follow;

1. DocumentLoader::finishedLoading() found m_gotFirstByte is false, which is the target situation.
2. Notifying the situation to FrameLoaderClient through dispatchDidFinishLoadingWithoutBody(), newly added function.
3. If FrameLoaderClient wants to show informational page, it should create substitute data and send it to FrameLoader.
    3-1. If FrameLoaderClient does nothing for the function, FrameLoader commits blank page.
4. FrameLoadTypeReload will be set for the substitute data for Back/Forward.
5. The original DocumentLoader will be stopped while loading the substitute data.


There is a premise for this flow. 
PolicyUse should be selected for this.
That means, MIME Type from server or http stack (in case of content sniffing) should be exist and a type for PolicyUse on FrameLoader.
I will consider to solve this after finishing this flow.

Finally, I'm not confident of the new function's name, dispatchDidFinishLoadingWithoutBody.
It will notify to FrameLoaderClient that loading is finished but it has no response body.
I feel this has similar meaning with dispatchDidFinishLoading(), so I chose the name.
But, I'm not sure what different is dispatchDidFinishLoading from dispatchDidFinishLoad.
I'd appreciate it if anyone can give me advice for this.

Any advice and comment will be welcome.

Thank you.

-- 
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