Start with two files, local.html and remote.html, with the following respective contents.
HTML Code:
<html>
<head>
</head>
<body>
<iframe src="http://another.domain/remote.html"><!-- --></iframe>
</body>
</html>
HTML Code:
<html>
<head>
<script type="text/javascript" src="ext/adapter/ext/ext-base-debug.js"><!-- --></script>
<script type="text/javascript" src="ext/ext-all-debug.js"><!-- --></script>
</head>
<body>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</body>
</html>
Deploy each to different hosts, and load local.html under WebKit (e.g., Safari, Chrome). The following error may be emitted on the JavaScript Console under Developer Tools.
Code:
Unsafe JavaScript attempt to access frame with URL http://domain/local.html from frame with URL http://another.domain/remote.html. Domains, protocols and ports must match.
The error does not occur if ext-all-debug.js has been removed from remote.html.