[webkit-dev] Javascript window.open handling in GTK

Weber, Bernd BWEBE at dolby.com
Wed Oct 1 15:18:58 PDT 2008


Hi,

 

Playing around with the code for a while now I found that, at least in
the GTK implementation, window.open(), close(), etc is not implemented.
Can anyone explain to me why this is not implemented? Maybe because of
security concerns? Wouldn't it be better to have a setting defined that
restricts this feature instead of not implementing it at all?!

Anyway I did my own implementation in ChromeClientGtk.cpp that actually
works ok so far. However in order to make it really nice and proof I
need to get a handle to the parent webview that originally started this
new window. I didn't find a way yet on how to get this information down
there. Can someone give me a pointer on where I can get his information
from?!

Main reason actually is that the parent window has to be refreshed when
the child window closes. Also I want to have a safety check in the close
function if the calling instance is the top level webview.

Thanks!

 

-Bernd

 




-----------------------------------------
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose.  If you
are not the intended recipient, delete this message.  If you are
not the intended recipient, disclosing, copying, distributing, or
taking any action based on this message is strictly prohibited.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20081001/a78245c0/attachment.html 


More information about the webkit-dev mailing list