Yahoo! Messenger uses the default browser of your system. It will use Firefox if you set Firefox to be the default browser in Windows. (We are talking about Windows here, right? (And a semi-recent version of YiM like 6.0?)
That goes for normal use. I really can't comment on $%$£@ use.