From b08c67eb1e45cb94dc6250fe555d84f0c0e7debe Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Wed, 1 Sep 2010 01:39:43 +0200 Subject: This hacks should fix (a lot of) javascript handling. Hope this will be properly fixed upstream in KIO... Please, Jurian & Pano. Let me know if this has been really fixed. BUG: 242886 --- src/protocolhandler.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/protocolhandler.cpp') diff --git a/src/protocolhandler.cpp b/src/protocolhandler.cpp index d52433bc..a260ad06 100644 --- a/src/protocolhandler.cpp +++ b/src/protocolhandler.cpp @@ -94,6 +94,7 @@ bool ProtocolHandler::preHandling(const QNetworkRequest &request, QWebFrame *fra // javascript handling if (_url.protocol() == QL1S("javascript")) { + kDebug() << "JAVASCRIPT URL: " << _url; QString scriptSource = _url.authority(); if(scriptSource.isEmpty()) { // if javascript: then authority() returns -- cgit v1.2.1