Commit 8807f2f1 authored by trey's avatar trey

3136213 - Page loads stopped by backtracking don't finish when moving forward

	We need to remove the entry from the KHTML image cache when a load
	has an error, so it will be reloaded next time we try.

        Reviewed by Darin,

        * khtml/misc/loader.cpp:
        (Loader::slotFinished):  Remove cache entry on job error.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent e94e43ff
2003-01-08 Trey Matteson <trey@apple.com>
3136213 - Page loads stopped by backtracking don't finish when moving forward
We need to remove the entry from the KHTML image cache when a load
has an error, so it will be reloaded next time we try.
Reviewed by Darin,
* khtml/misc/loader.cpp:
(Loader::slotFinished): Remove cache entry on job error.
2003-01-08 Darin Adler <darin@apple.com>
Reviewed by Dave.
......
2003-01-08 Trey Matteson <trey@apple.com>
3136213 - Page loads stopped by backtracking don't finish when moving forward
We need to remove the entry from the KHTML image cache when a load
has an error, so it will be reloaded next time we try.
Reviewed by Darin,
* khtml/misc/loader.cpp:
(Loader::slotFinished): Remove cache entry on job error.
2003-01-08 Darin Adler <darin@apple.com>
Reviewed by Dave.
......
......@@ -1265,7 +1265,9 @@ kdDebug(6060) << "Loader::slotFinished, url = " << j->url().url() << " expires "
#if APPLE_CHANGES
// We don't want to ever finish the load in the case of an error because we don't want them cached.
if (!j->error())
if (j->error())
Cache::removeCacheEntry( r->object );
else
#endif
r->object->finish();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment