This test page serves as a testbed to exercise some of the interfaces MfcEmbed implements - such as nsIWebBrowserChrome, nsIPrompt etc.
You can test these by loading mfcembed in the debugger and setting breakpoints in the interface methods discussed below. Then clicking on these links will break in the debugger at the specified locations for you to explore these interface implementations further.
Open a simple JavaScript window with defaults for size etc:
Invokes nsIWebBrowserChrome::CreateBrowserWindow() to create the windowOpen a JavaScript window with only its size specified (Not Resizable)
Invokes nsIWebBrowserChrome::CreateBrowserWindow() to create the window and also invokes nsIWebBrowserChrome::SizeBrowserTo() to set the window size. This also shows how we handle the chromeMask to make the window non-resizeableOpen a window with chrome and its size specified (Resizable)
Invokes nsIWebBrowserChrome::CreateBrowserWindow() to create the window and also invokes nsIWebBrowserChrome::SizeBrowserTo() to set the window size
All of the above tests also invoke nsIWebBrowserChrome::FindNamedBrowserItem() to find the named target window in the JavaScript code.