res = NS_NewScriptStyleSheetCollection(aContext, supports, (nsISupports *)mStyleSheet, (void**)&mScriptObject);
res = NS_NewScriptCSSStyleRuleCollection(aContext, supports, (nsISupports *)mStyleSheet, (void**)&mScriptObject);
CSSImportsCollectionImpl::GetScriptObject(nsIScriptContext *aContext,                                             void** aScriptObject){  nsresult res = NS_OK;  if (nsnull == mScriptObject) {    nsISupports *supports = (nsISupports *)(nsIDOMStyleSheetCollection *)this;    // XXX Should be done through factory    res = NS_NewScriptStyleSheetCollection(aContext,                                            supports,                                           (nsISupports *)mStyleSheet,                                            (void**)&mScriptObject);  }  *aScriptObject = mScriptObject;  return res;}