[EMAIL PROTECTED] wrote:
TestGtkEmbed (at least my build) doesn't seem to know how to handle
javascript dialog windows.  For example, if I open a page with a
javascript alert command, instead of getting the
alert box I'm getting a box with both ok and cancel buttons (neither of
which do anything when clicked) and no text.
Could someone point to an example program that handles this correctly?

Thanks,
George



George,
Yes, I had the same problem (Windows), but I had to end up handing the promps myself by using nsIPromptService. After handling them myself, I had no more issues like that and it was a much more elegant solution. There are 2 ways to do this...one is using MFC and some sort of static replacement library (YUCK!). Here is an example of the other (PowerPlant)...which I prefer:

http://lxr.mozilla.org/seamonkey/source/embedding/browser/powerplant/source/PromptService.cpp

Hope this helps!


Niky Williams
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to