Use window.location.host for iframe test