Added support for cross-origin frames