Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(110)

Unified Diff: LayoutTests/fast/events/touch/touch-event-target-crash.html

Issue 22875013: Make several DOMImplementation API arguments mandatory (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698