http://bugs.winehq.org/show_bug.cgi?id=27340
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2011-06-01 09:52:57 CDT --- (In reply to comment #3)
So nsscript must still be NULL after calling nsISupports_QueryInterface(), and NS_FAILED(nsres) is not true.
That's not how QueryInterface is supposed to work. Either your assumption is wrong, or there's a bug in gecko (i.e., not in Wine.) I suspect the bug is elsewhere. Getting a backtrace with debug symbols would be more useful.