Commit 040136ef authored by trey's avatar trey
Browse files

3129175 - we're doing needless GETs when using b/f cache

	Turns out that an empty UserStyle was causing WebCore to reload the base URL
	of the page, since it tried to load the style "".

        Reviewed by Darin

        * khtml/khtml_part.cpp:
        (KHTMLPart::reparseConfiguration):  Of the UserStyle is empty, set it to an
	empty string instead of an empty URL.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 81a1bf4e
2002-12-16 Trey Matteson <trey@apple.com>
3129175 - we're doing needless GETs when using b/f cache
Turns out that an empty UserStyle was causing WebCore to reload the base URL
of the page, since it tried to load the style "".
Reviewed by Darin
* khtml/khtml_part.cpp:
(KHTMLPart::reparseConfiguration): Of the UserStyle is empty, set it to an
empty string instead of an empty URL.
2002-12-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......
2002-12-16 Trey Matteson <trey@apple.com>
3129175 - we're doing needless GETs when using b/f cache
Turns out that an empty UserStyle was causing WebCore to reload the base URL
of the page, since it tried to load the style "".
Reviewed by Darin
* khtml/khtml_part.cpp:
(KHTMLPart::reparseConfiguration): Of the UserStyle is empty, set it to an
empty string instead of an empty URL.
2002-12-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin.
......
......@@ -3882,7 +3882,7 @@ void KHTMLPart::reparseConfiguration()
if ( !userStyleSheet.isEmpty() )
setUserStyleSheet( KURL( userStyleSheet ) );
else
setUserStyleSheet( KURL( QString::null ) );
setUserStyleSheet( QString::null );
QApplication::setOverrideCursor( waitCursor );
if(d->m_doc) d->m_doc->updateStyleSelector();
......
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