Hi Neil, 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.
-Eric --- Neil <[EMAIL PROTECTED]> 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 > "about:blank". > > > 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 > usually > does is create a channel for a chrome URL, and set its original URL > to > 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 > [email protected] > http://mozdev.org/mailman/listinfo/project_owners > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Project_owners mailing list [email protected] http://mozdev.org/mailman/listinfo/project_owners
