Eric H. Jung
grimholtz at yahoo.com
Tue Dec 13 17:54:17 EST 2005
Thanks for the explanation. You wouldn't happen to know of any examples
I might look at to see how to implement and register my own
nsIAboutModule component? I realize this is likely an esoteric topic,
so I'm not very hopeful.
--- Neil <neil at parkwaycc.co.uk> wrote:
> Eric H. Jung wrote:
> >When my extension opens a new tab with the URI
> "about:passwordmaker", I can't populate it with content. I'd like to
> use this URI to display information about my extension's settings.
> However, the following exception appears in the JS console:
> >Error: [Exception... "Component returned failure code: 0x80040154
> (NS_ERROR_FACTORY_NOT_REGISTERED) [nsIWebNavigation.loadURI]"
> nsresult: "0x80040154 (NS_ERROR_FACTORY_NOT_REGISTERED)" location:
> "JS frame :: chrome://global/content/bindings/browser.xml ::
> loadURIWithFlags :: line 170" data: no]
> >Source File: chrome://global/content/bindings/browser.xml
> >Line: 170
> >Anyone know how I can achieve this? My code works just fine if I use
> When you refer to about:passwordmaker Gecko tries to load a component
> named @mozilla.org/network/protocol/about;1?what=passwordmaker to
> implement the nsIAboutModule interface. What that component then
> does is create a channel for a chrome URL, and set its original URL
> the about URL, so for example about:config simply loads
> chrome://global/content/config.js as you can demonstrate by comparing
> the two in two tabs.
> Project_owners mailing list
> Project_owners at mozdev.org
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the Project_owners