Skip to content
  • darin's avatar
    WebCore: · cd4186d5
    darin authored
    	- fixed 3080478 -- reproducible incomplete load on apple.com
    
            * kwq/KWQLoaderImpl.mm:
            (-[WebCoreResourceLoader receivedResponse:]): Add an assert.
            (-[WebCoreResourceLoader cancel]): Don't finish here, just disconnect the handle
    	from the job, and disconnect the job from the WebCoreResourceLoader, and let the
    	KHTML code finish the cleanup later. This is the bug fix.
            (KWQCheckCacheObjectStatus): Add an assertion.
    
            * kwq/KWQKjobclasses.mm:
    	(TransferJob::~TransferJob): Don't call kill(); do the work here instead.
    	(TransferJob::kill): Self-destruct. Need this to avoid a storage leak.
    
            * khtml/misc/loader.cpp:
            (CachedObject::~CachedObject): Put some Apple-specific code inside APPLE_CHANGES.
            (CachedObject::setResponse): Streamlined this function.
            (Loader::receivedResponse): Added assertions.
    
            * kwq/qt/qxml.h: Add more stubs.
            * kwq/KWQxml.mm: Ditto.
    
            * kwq/WebCoreViewFactory.h: Add [WebCoreViewFactory fileButton], the
    	WebCoreFileButton protocol, and WebCoreFileButtonFilenameChanged.
            * kwq/WebCoreViewFactory.m: Add WebCoreFileButtonFilenameChanged.
            * WebCore.exp: Export _WebCoreFileButtonFilenameChanged.
    
    WebKit:
    
    	Add WebFileButton, to be used by WebCore soon. It's about 1/2
    	done right now. Compiles but not used yet.
    
            * WebCoreSupport.subproj/WebViewFactory.m: (-[WebViewFactory fileButton]): Added.
    
            * WebCoreSupport.subproj/WebFileButton.h: Added.
            * WebCoreSupport.subproj/WebFileButton.m: Added.
            * WebKit.pbproj/project.pbxproj: Added WebFileButton files.
    
            * WebCoreSupport.subproj/WebSubresourceClient.m:
            (-[WebSubresourceClient handle:didReceiveResponse:]): Add an assertion.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    cd4186d5