blob: 0f5883436f97af542facd5fbf234e7f3efaad0dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<foo id=test1>>><body id=test2 '><bdi id=test3><keygen>
<test><script>
var docElement = document.body ? document.body : document.documentElement;
function initCF() {
try { test4 = document.createElementNS("http://www.w3.org/1999/xhtml", "td"); } catch(e) {}
try { docElement.appendChild(test4); } catch(e) {}
try { test5 = test3.cloneNode(true); } catch(e) {}
try { test5.setAttribute("dir", "invalid"); } catch(e) {}
try { docElement.appendChild(test5); } catch(e) {}
setTimeout("CFcrash()", 0);
}
document.addEventListener("DOMContentLoaded", initCF);
function CFcrash() {
try { test1.appendChild(test4); } catch(e) {}
try { document.adoptNode(test2); } catch(e) {}
}</script>>
|