Index: khtml_part.cpp
===================================================================
RCS file: /home/kde/kdelibs/khtml/khtml_part.cpp,v
retrieving revision 1.955
diff -u -p -b -B -w -r1.955 khtml_part.cpp
--- khtml_part.cpp 2 Jan 2004 17:27:40 -0000 1.955
+++ khtml_part.cpp 3 Jan 2004 08:09:44 -0000
@@ -2073,11 +2073,12 @@ void KHTMLPart::scheduleRedirection( int
void KHTMLPart::slotRedirect()
{
- kdDebug() << k_funcinfo << endl;
+ kdDebug() << k_funcinfo << " referrer= " << d->m_referrer << endl;
QString u = d->m_redirectURL;
d->m_delayRedirect = 0;
d->m_redirectURL = QString::null;
- d->m_referrer = ""; // Waba: is this needed?
+ //d->m_referrer = ""; // Waba: is this needed?
+
// SYNC check with ecma/kjs_window.cpp::goURL !
if ( u.find( QString::fromLatin1( "javascript:" ), 0, false ) == 0 )
{
@@ -3693,9 +3694,8 @@ bool KHTMLPart::requestObject( khtml::Ch
if ( args.serviceType.isEmpty() ) {
kdDebug(6050) << "Running new KHTMLRun for " << this << " and child=" << child << endl;
- emit started( 0 ); // get the wheel to start spinning if necessary (#16616)
- d->m_bComplete = false; // and ensure we'll stop it in checkCompleted
child->m_run = new KHTMLRun( this, child, url, child->m_args, true );
+ d->m_bComplete = false; // ensures we stop it in checkCompleted...
return false;
} else {
return processObjectRequest( child, url, args.serviceType );