rem: aDocShell.QueryInterface(Components.interfaces.nsIWebNavigation); aDocShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor); var doc = aDocShell.getInterface(Components.interfaces.nsIDOMDocument); 
add: aDocShell.QueryInterface(nsCI.nsIWebNavigation); aDocShell.QueryInterface(nsCI.nsIInterfaceRequestor); var doc = aDocShell.getInterface(nsCI.nsIDOMDocument); 
context: function findChildShell(aDocument, aDocShell, aSoughtURI) {		aDocShell.QueryInterface(Components.interfaces.nsIWebNavigation);		aDocShell.QueryInterface(Components.interfaces.nsIInterfaceRequestor);		var doc = aDocShell.getInterface(Components.interfaces.nsIDOMDocument);		if ((aDocument && doc == aDocument) || 			(aSoughtURI && aSoughtURI.spec == aDocShell.currentURI.spec))			return aDocShell; 		var node = aDocShell.QueryInterface(Components.interfaces.nsIDocShellTreeNode);		for (var i = 0; i < node.childCount; ++i) {			var docShell = node.getChildAt(i);			docShell = findChildShell(aDocument, docShell, aSoughtURI);			if (docShell) return docShell;		}		return null;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/95e0a93d11e550d8b841d475e6fe62ef4900c18b/minimo.js/buggy/minimo/chrome/content/minimo.js