Index: LayoutTests/fast/events/touch/touch-event-target-crash.html |
diff --git a/LayoutTests/fast/events/touch/touch-event-target-crash.html b/LayoutTests/fast/events/touch/touch-event-target-crash.html |
index 7100e1626095ac977f28c77dddd80f5ec92eaf76..6c9986af662fdafd497320e66897a9de9351ee61 100755 |
--- a/LayoutTests/fast/events/touch/touch-event-target-crash.html |
+++ b/LayoutTests/fast/events/touch/touch-event-target-crash.html |
@@ -17,7 +17,7 @@ function crash() { |
svgLineElement1 = document.createElementNS("http://www.w3.org/2000/svg", "line"); |
textNode1 = document.createTextNode("mNfma;B N`p0ag "); |
svgEllipseElement1.addEventListener("touchcancel", function () {}, false); |
- document1 = document.implementation.createDocument("", null); |
+ document1 = document.implementation.createDocument("", "", null); |
svgAnimateElement1.appendChild(svgEllipseElement1); |
mathElement1.attributes[0].appendChild(textNode1); |
mathElement2.appendChild(svgAnimateElement1); |
@@ -25,7 +25,7 @@ function crash() { |
svgLineElement1.appendChild(svgTestcaseElement1); |
mathElement1.attributes[0].addEventListener("DOMSubtreeModified", function () { document.open(); }, false); |
svgTestcaseElement1.appendChild(svgAnimAttributeElement1); |
- document2 = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html"); document2.adoptNode(textNode1); |
+ document2 = document.implementation.createDocument("http://www.w3.org/1999/xhtml", "html", null); document2.adoptNode(textNode1); |
svgAnimAttributeElement1.appendChild(mathElement2); |
svgEllipseElement1.parentNode.removeChild(svgEllipseElement1); |
delete svgEllipseElement1; |
@@ -36,4 +36,4 @@ function crash() { |
} |
document.addEventListener("DOMContentLoaded", crash, false); |
</script> |
-</html> |
+</html> |