layout/base/crashtests/394014-1-iframe.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <html><head></head>
michael@0 2 <body>
michael@0 3 <span id="a" style="display: none;">
michael@0 4 <span id="b">
michael@0 5 <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>
michael@0 6 </span>
michael@0 7 </span>
michael@0 8 <script>
michael@0 9 for (var i=0;i<document.getElementsByTagName('*').length;i++){
michael@0 10 document.getElementsByTagName('*')[i];
michael@0 11 }
michael@0 12 function doe2() {
michael@0 13 //alert('t');
michael@0 14 document.getElementById('b').addEventListener('DOMSubtreeModified', function(e) {window.frameElement.parentNode.removeChild(window.frameElement) }, true);
michael@0 15 document.body.style.display = 'none';
michael@0 16 document.getElementById('a').style.display = '';
michael@0 17 }
michael@0 18 setTimeout(doe2, 20);
michael@0 19 </script>
michael@0 20 </body>
michael@0 21 </html>

mercurial