Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
michael@0 | 1 | <html><head> |
michael@0 | 2 | <script> |
michael@0 | 3 | function crashMoz() { |
michael@0 | 4 | var div = document.getElementById( "adiv" ); |
michael@0 | 5 | var table = document.createElement( "TABLE" ); |
michael@0 | 6 | var tr = table.insertRow( 0 ); |
michael@0 | 7 | var td = tr.insertCell( 0 ); |
michael@0 | 8 | var text = document.createTextNode( "Hello, World." ); |
michael@0 | 9 | td.appendChild( text ); |
michael@0 | 10 | td.style.backgroundImage = "url( 'any_image_here.gif' )"; |
michael@0 | 11 | div.appendChild( table ); |
michael@0 | 12 | } |
michael@0 | 13 | </script> |
michael@0 | 14 | </head><body onload="crashMoz();"> |
michael@0 | 15 | <div id=adiv></div> |
michael@0 | 16 | </body></html> |
michael@0 | 17 |