|
Ok. I had the toplevel mozilla directory named
a bit differently on the dev install path & the target . So it couldn't
locate the component registry file components/xpti.dat on the target, &
it would try to Autoregister the components on reboot. Making the target path
match the dev install path exactly , cleared the autoregistering issue.
It still takes 1 second longer on the first run
than the second run.. but thats for later..
The second big slowdown (now upto 7s) is a
GetContentDOMWindow call
/embedding/browser/nsWebBrowser.cpp
nsWebBrowser::InitWindow() // Hook into the OnSecurirtyChange() notification for lock/unlock icon // updates nsCOMPtr<nsIDOMWindow> domWindow; rv = GetContentDOMWindow(getter_AddRefs(domWindow)); [digging]
|
_______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
