I've setup a modalframe used in my homepage (www.mainsite.com calling www.mainsite.com/modal) and also is called from a different domain (www.alternatesite.com calling an iframe with www.mainsite.com/modal).
In this particular case, js/child.js is loaded and cannot reach parent.Drupal (child.js:20). In Chrome, variables are empty, but in Opera or Firefox, it will raise a "Security Exception". This exception is not catched and will stop all other javascript processing.
To prevent this, I suggest to try/catch this Security Error and return immediatly.
Please, check patch attached and apply it on git.
Comments
Comment #1
dsnopekThanks! Committed in 91190b3.