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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

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

mercurial