Konqueror not reacting on window.open()

Harri Porten porten at kde.org
Sat May 24 19:11:56 BST 2008


Hi!

Since some time (not sure how long, Fredrik reported it before on #khtml) 
does not handle window.open() calls from JavaScript anymore. Simple test 
case:

<html>
   <p onclick="window.open('www.kde.org')">Click me</p>
</html>

I debugged it only as far as seeing that 
BrowserExtension::createNewWindow() does not "return" a KPart pointer when 
called Window::executeOpenWindow() (khtml/ecma/kjs_window.cpp). Guess it 
should.

David, I am suspecting one of the MMB fixes like r805892 or r805219 broke 
it.

Harri.




More information about the kfm-devel mailing list