blob: ad2893ec1ec7a1e504156820b2c78209aacd6daf [file] [log] [blame]
<!DOCTYPE html>
<body>
<div id=container>
<input>
</div>
<script src="../../resources/js-test.js"></script>
<script>
description("iframes added to a subtree that's being removed should not load");
var container = document.querySelector('#container');
var input = document.querySelector('input');
input.focus();
input.addEventListener('blur', function() {
iframe = document.createElement('iframe');
input.parentNode.appendChild(iframe);
});
container.innerHTML = '';
shouldBeNull("iframe.contentWindow");
</script>
</body>