1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
<html class="reftest-wait"> <head> <script> function crash() { try { window.getSelection().containsNode([], false); } catch(e) { } try { window.getSelection().containsNode(null, false); } catch(e) { } document.documentElement.removeAttribute("class"); } </script> </head> <body onload="setTimeout(crash, 10);"> Foo </body> </html>