gecko-dev/dom/base/crashtests/838489-2.html
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00

16 lines
679 B
HTML

<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>>