[Bug 52727] Access to window.external in an embedded browser breaks javascript