Hi All,

I'm trying to use the nsIURIContentListener in javascript code in a web 
application.  Is it available in gecko? I've tested this example:

http://forums.mozillazine.org/viewtopic.php?t=501254&sid=a2f27a7ca70ecb78ef834d80ec86286e

in the FirefoxOS Simulator, in the ARM emulator and in the Firefox 17. It looks 
like this call:
window.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
.getInterface(Components.interfaces.nsIWebNavigation) 
.QueryInterface(Components.interfaces.nsIDocShell)                         
.QueryInterface(Components.interfaces.nsIInterfaceRequestor) 
.getInterface(Components.interfaces.nsIURIContentListener); 

fails in it's second line. I understand it requires XUL and XPCOM, but both 
should be part of Gecko and available in FirefoxOS. 

Any hints?
Thanks!
Jan
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to