On 06/01/2010 09:41 PM, hap 497 wrote:
Hi,
I am trying to understanding how conkeor works.
I put debug printfs in the xul runner library used by conkeror.
What I find out is when I start conkeor, why
1. it creates 4 nsDocShell (i printf out the address of the nsDocShell
in LoadURL below.
2. why it loads hiddenWindow 2 times?
nsDocShell::LoadURI() 1b027800 resource://gre/res/hiddenWindow.html
nsDocShell::LoadURI() 16de4000 resource://gre/res/hiddenWindow.html
nsDocShell::LoadURI() 14e47400 chrome://conkeror-gui/content/conkeror.xul
nsDocShell::LoadURI() 14dbbc00 about:blank
nsDocShell::LoadURI() 14dbbc00 chrome://conkeror-help/content/help.html
I believe the hidden window is created implicitly by xulrunner/Mozilla
-- Conkeror doesn't explicitly create it. As for why there are two
instead of one, I do not know.
The conkeror.xul doc shell corresponds to the top-level chrome window,
and the other one corresponds to the content window.
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror