Important things like window.open() are provided by the interface BrowserExtensionWin. All functions in this class on Windows are currently stubbed out in TemporaryLinkStubs. There should be a way for embedders to provide implementations of these things.
Created attachment 10873 [details] Patch to forward to the UIDelegate This patch is based on DarinA and Maciej's help. This adds a new file for BrowserExtensionWin where the TemporaryLinkStubs functions have been moved, and hooks up the createNewWindow calls (the rest remain the same stubs as in TemporaryLinkStubs). They are forwarded to the FrameWin, which then forwards them to the WebFrame. The WebFrame then calls the UIDelegate (if any) provided by the embedder. The IDL declaration of the retval of IWebUIDelegate::createWebViewWithRequest seemed to be incorrect, so this also fixes that.
Comment on attachment 10873 [details] Patch to forward to the UIDelegate Looks fine. r=me
Created attachment 10931 [details] Patch with changelog
Committed revision 16817.