Index: LayoutTests/svg/custom/dynamic-svg-document-creation.svg |
diff --git a/LayoutTests/svg/custom/dynamic-svg-document-creation.svg b/LayoutTests/svg/custom/dynamic-svg-document-creation.svg |
index 54d8faa09c1345199fd62587306deee292a8373e..2160435bf401d21fbc2d306a5719678bcebc9b86 100644 |
--- a/LayoutTests/svg/custom/dynamic-svg-document-creation.svg |
+++ b/LayoutTests/svg/custom/dynamic-svg-document-creation.svg |
@@ -10,6 +10,10 @@ |
<script> |
<![CDATA[ |
+if (window.testRunner) { |
+ testRunner.dumpAsText(); |
+} |
+ |
function log(message) { |
var logDiv = document.getElementById('log'); |
var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml",'div'); |
@@ -29,7 +33,7 @@ function init() { |
var parser = new DOMParser(); |
var svgDocument = parser.parseFromString(documentString, "image/svg+xml"); |
- log("DOMParser.parseFromString returned: " + svgDocument + " should be: [object SVGDocument]"); |
+ log("DOMParser.parseFromString returned: " + svgDocument + " should be: [object XMLDocument]"); |
// Try some operations on the new document |
log("SVGDocument's rootElement: " + svgDocument.rootElement + " should be: [object SVGSVGElement]"); |