Firefox: window.getInterface

window.getInterface is not avilable immediately in iframe.