blob: c38a79135652d2d9bd8d0cc3ea973b05d20cb985 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src="resources/javascriptURL-execution-context.js"></script>
<script>
function setter(frame, url) {
var newNode = document.createAttribute('src');
newNode.value = url;
frame.setAttributeNode(newNode);
}
</script>
</head>
<body>
<p>This test passes as long as the word 'FAIL' and an accompanying message do not appear in the subframe.</p>
<pre id='console'></pre>
<iframe id='aFrame' name='aFrame' src='http://localhost:8000/security/resources/cross-frame-iframe.html'></iframe>
</body>
</html>