Thanks for the pointer.

As I understood after debugging (in short), XRE_MainRun() is doing the
magic using cmdLine->Run() which is setting up shell.html and later
appStartup->Run()  runs the messageloop and processes the further action

BR/ Lalit
On Nov 20, 2013 4:22 PM, "Fabrice Desré" <[email protected]> wrote:

> On 11/19/2013 10:43 PM, Lalit Arora wrote:
> > Thanks for the quick reply
> >
> > Can you please point out how this default chrome uri is loaded?
> >
> > I found nsDefaultCLH.js is loading default chrome uURI in blank window
> > but not understanding where exactly nsDefaultCLH.js is loaded (if it is
> > used)
>
> nsDefaultCLH.js is registered in the command-line-handler xpcom category
> (see
>
> https://mxr.mozilla.org/mozilla-central/source/toolkit/components/nsDefaultCLH.manifest#3
> ),
> which is then enumerated at
>
> https://mxr.mozilla.org/mozilla-central/source/toolkit/components/commandlines/nsCommandLine.cpp#533
>
> Also relevant to this part of the startup code, the idl defining command
> line handlers is
>
> https://mxr.mozilla.org/mozilla-central/source/toolkit/components/commandlines/nsICommandLineHandler.idl
>
>         Fabrice
> --
> Fabrice Desré
> b2g team
> Mozilla Corporation
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to