Fixed <rdar://problem/3781001>: redirection of URL via resource load delegate does...
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Sep 2004 01:38:09 +0000 (01:38 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Sep 2004 01:38:09 +0000 (01:38 +0000)
commit0c4dd46231747089bdc7de8c6ee9d2447c69184a
treeb0b49b73b2371b0421c340bcb98c971a2296e9cc
parentce5e2e8cd5352ba37fd0015e08d39db0fb8d0a4c
Fixed <rdar://problem/3781001>: redirection of URL via resource load delegate does not correctly set base URL for subsequent loads

Ensure that stylesheets have the correct URL when request
is redirected.

        Reviewed by Maciej.

        * khtml/misc/loader.cpp:
        (CachedCSSStyleSheet::checkNotify):
        * kwq/KWQLoader.h:
        * kwq/KWQLoader.mm:
        (KWQIsResponseURLEqualToURL):
        (KWQResponseURL):

        * khtml/ecma/kjs_html.cpp:
        (KJS::Context2DFunction::tryCall):
Compare parameter count with == instead of <=.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/ecma/kjs_html.cpp
WebCore/khtml/misc/loader.cpp
WebCore/kwq/KWQLoader.h
WebCore/kwq/KWQLoader.mm