I don't quite understand this case. Are you expecting calls to loadHtml with objects and not actual urls?