Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / frame-getSVGDocument.html
index db59633..b662fee 100644 (file)
@@ -27,7 +27,7 @@
   }
 
   var continueTest1 = function() {
-    shouldBeEqualToString("frame.getSVGDocument().toString()", "[object SVGDocument]");
+    shouldBeEqualToString("frame.getSVGDocument().toString()", "[object XMLDocument]");
     frame.parentNode.removeChild(frame);
 
     iframe = document.createElement("iframe");
@@ -38,7 +38,7 @@
   }
 
   var continueTest2 = function() {
-    shouldBeEqualToString("iframe.getSVGDocument().toString()", "[object SVGDocument]");
+    shouldBeEqualToString("iframe.getSVGDocument().toString()", "[object XMLDocument]");
     iframe.parentNode.removeChild(iframe);
 
     embed = document.createElement("embed");
@@ -49,7 +49,7 @@
   }
 
   var continueTest3 = function(event) {
-    shouldBeEqualToString("embed.getSVGDocument().toString()", "[object SVGDocument]");
+    shouldBeEqualToString("embed.getSVGDocument().toString()", "[object XMLDocument]");
     embed.parentNode.removeChild(embed);
 
     object = document.createElement("object");
@@ -60,7 +60,7 @@
   }
 
   function continueTest4() {
-    shouldBeEqualToString("object.getSVGDocument().toString()", "[object SVGDocument]");
+    shouldBeEqualToString("object.getSVGDocument().toString()", "[object XMLDocument]");
     object.parentNode.removeChild(object);
 
     finishJSTest();