gecko

Gecko XPCOM usage vs WebKit

I need to embed a web browser in C++ application. As well, I need to reach its javascript methods from Delphi components. I know that for FF there is Gecko with XPCOM. Is there something like this for WebKit? ...

Opening a window in XUL

An exception is being thrown when trying to open a window using window.open in XUL. The exception details: Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: The line of code throwing the exception is: newWind = window.open(settings....

Xulrunner and Gecko relationship

After read: Do not confuse the Gecko/XULRunner SDK with XULRunner itself. The Gecko SDK is a collection of header files and tools used to develop general XPCOM components which add functionality to the existing platform, whereas XULRunner is a framework which can be used to run standalone or embedded applications base...

CSS box-shadow issues

I'm building this page: http://ss.rsportugal.org/ As you can see, there are two 10 pixel shadows in the page. One just bellow the menu and the other just above the footer bar. These shadows are made using box-shadow: 0 0 10 rgba(...); It works as expected in WebKit engine and for some reason that I am unable to figure out and I could u...

Javascript submit() event is not fired up on exit (unload event)

I got page where HTML elements <form> and <iframe> are dinamicaly created with Javascript: document.write('<iframe id="myIframe" name="myIframe" src="about:blank" style="display:none;"></iframe>'); document.write('<form id="myForm" name="myForm" method="post" target="myIframe" action="myURL.php" style="display:none;">'); document.write(...

Gecko NSModule: ContractIDEntry "nsID const *"?

I created a FireFox addon a while a go, and noticed it stopped working on FireFox 3.6 Apparently, NSGetModule is being replaced with an NSModule structure, so I have to adapt. I'm coding my product with Delphi, so I have to port the new code to Object Pascal. If I look over this code: http://mxr.mozilla.org/mozilla-central/source/xpcom/...