1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/394014-1-iframe.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<html><head></head> 1.5 +<body> 1.6 +<span id="a" style="display: none;"> 1.7 +<span id="b"> 1.8 +<span style="-moz-binding: url(data:text/xml;charset=utf-8,%3Cbindings%20xmlns%3D%22http%3A//www.mozilla.org/xbl%22%3E%0A%3Cbinding%20id%3D%22a%22%3E%0A%3Cimplementation%3E%0A%3Cconstructor%3E%0A%20%20this.style.outline%3D%27%27%3B%0A%3C/constructor%3E%0A%3C/implementation%3E%0A%3C/binding%3E%0A%3C/bindings%3E);"></span> 1.9 +</span> 1.10 +</span> 1.11 +<script> 1.12 +for (var i=0;i<document.getElementsByTagName('*').length;i++){ 1.13 +document.getElementsByTagName('*')[i]; 1.14 +} 1.15 +function doe2() { 1.16 +//alert('t'); 1.17 +document.getElementById('b').addEventListener('DOMSubtreeModified', function(e) {window.frameElement.parentNode.removeChild(window.frameElement) }, true); 1.18 +document.body.style.display = 'none'; 1.19 +document.getElementById('a').style.display = ''; 1.20 +} 1.21 +setTimeout(doe2, 20); 1.22 +</script> 1.23 +</body> 1.24 +</html> 1.25 \ No newline at end of file