Skip to content
  • darin's avatar
    WebCore: · 043758d8
    darin authored
    	- fixed 3099240 -- REGRESSION: repro assert d->m_doc->parsing
    
    	Don't force all redirects to be reloads, because the ones from JavaScript must
    	not be. Maybe a better solution post-Alex-32 will be to pass a flag that distinguishes
    	redirects from other location changes.
    
            * khtml/khtml_part.cpp: (KHTMLPart::slotRedirect): Don't ignore the anchor when
    	comparing URLs to see if they should be a reload. We'll still do a reload if the URLs
    	are actually equal, but if they differ in anchor we will just go to the anchor.
    	This is the bug fix.
    
            * kwq/WebCoreBridge.h: Add reload parameter.
            * kwq/WebCoreBridge.mm: (-[WebCoreBridge openURL:reload:headers:]): Stuff the reload
    	parameter into the URLArgs.
    
    WebKit:
    
    	- fixed 3099240 -- REGRESSION: repro assert d->m_doc->parsing
    
    	Make the reload flag pass across the bridge.
    
            * WebView.subproj/WebDataSourcePrivate.m: (-[WebDataSource _commitIfReady]):
    	Pass a reload flag, based on the load type, to the bridge.
            * WebView.subproj/WebFramePrivate.m:
            (-[WebFrame _loadURL:loadType:triggeringEvent:isFormSubmission:]): Pass a
    	reload flag of NO in the anchor case. Preserve reload load types even when
    	doing client redirects (have to talk with Trey about this tomorrow).
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    043758d8