• darin's avatar
    WebCore: · aa70db1b
    darin authored
    	- fixed 3083982 -- Logging into AOL gives null view
    
    	Turns out AOL was using a refresh header, which we were not supporting.
    
            * khtml/khtml_part.h: Declare receivedFirstData, a private member function.
            * khtml/khtml_part.cpp:
            (KHTMLPart::receivedFirstData): Separate out the part of slotData we
    	want to share, which really seems kinda separate anyway.
            (KHTMLPart::slotData): More of the same.
    
            * kwq/KWQKHTMLPart.h: Declare addMetaData.
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::slotData): Call receivedFirstData instead of doing the same
    	thing ourselves.
            (KWQKHTMLPart::addMetaData): Added. Puts metadata into the job.
    
            * kwq/KWQKHTMLPartBrowserExtension.mm:
            (KHTMLPartBrowserExtension::createNewWindow): Fix bug where this was calling
    	openURL: but meant to call loadURL:.
    
            * kwq/WebCoreBridge.h: Add headers to openURL method. Remove setContentType.
            * kwq/WebCoreBridge.mm:
            (-[WebCoreBridge openURL:withHeaders:]): Handle Content-Type and Refresh.
    	This method is big enough that I should probably move the guts to KWQKHTMLPart.
    
    	- other things
    
            * kwq/KWQListImpl.mm: (KWQListImpl::~KWQListImpl): I overlooked something
    	while doing my "bug fix" in here a while back. Change an assignment statement
    	to an assert.
    
    WebKit:
    
    	- fixed 3083982 -- Logging into AOL gives null view
    
    	Turns out AOL was using a refresh header, which we were not supporting.
    
            * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _commitIfReady]):
    	Call openURL: and pass headers in.
    
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _loadURL:loadType:clientRedirect:triggeringEvent:isFormSubmission:]):
    	Pass nil for headers in this case, since we know it's just an anchor change.
    
    	- other things
    
            * WebCoreSupport.subproj/WebBridge.h: Remove dataSourceChanged and dataSource
    	methods. We try to keep the bridge methods down to actual bridging.
            * WebCoreSupport.subproj/WebBridge.m: Remove dataSourceChanged altogether,
    	and move dataSource up in the file.
    
            * WebView.subproj/WebHTMLRepresentation.m:
            (-[WebHTMLRepresentation setDataSource:]): Keep the data source around, so we
    	don't need to ask the bridge for it.
            (-[WebHTMLRepresentation documentSource]): Use it here.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    aa70db1b
ChangeLog 756 KB