mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 10:33:33 +00:00
Test case for bug 564461; r=roc
--HG-- extra : rebase_source : 8f5bea38964e7175667d9a6354a260773290c83b
This commit is contained in:
parent
218eb99d00
commit
aeb7c4dbe0
26
content/html/document/crashtests/564461.xhtml
Normal file
26
content/html/document/crashtests/564461.xhtml
Normal file
@ -0,0 +1,26 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
|
||||
|
||||
<bindings xmlns="http://www.mozilla.org/xbl">
|
||||
<binding id="editable"><content><div contenteditable="true" xmlns="http://www.w3.org/1999/xhtml"></div></content></binding>
|
||||
</bindings>
|
||||
|
||||
<script type="text/javascript">
|
||||
<![CDATA[
|
||||
|
||||
function boom()
|
||||
{
|
||||
while (document.documentElement.firstChild) document.documentElement.removeChild(document.documentElement.firstChild);
|
||||
|
||||
document.addEventListener("DOMSubtreeModified", function(){}, false);
|
||||
document.addEventListener("DOMNodeInsertedIntoDocument", function(){}, false);
|
||||
document.documentElement.appendChild(document.createElementNS("http://www.w3.org/1999/xhtml", "body"));
|
||||
document.body.style.MozBinding = 'url(#editable)';
|
||||
}
|
||||
|
||||
]]>
|
||||
</script></head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
@ -10,3 +10,4 @@ load 468562-1.html
|
||||
load 468562-2.html
|
||||
load 494225.html
|
||||
load 495543.svg
|
||||
load 564461.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user