Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / dom / move-nodes-across-documents.html
index d3501a1..62d516e 100644 (file)
@@ -106,7 +106,7 @@ function run()
         } finally {
           // Clear the event handler to avoid affecting the following tests.
         }
-    });
+    }, "TypeError");
     
     runTest(function() {
         iframeDoc.body.appendChild(document.createElement('div'));
@@ -179,7 +179,7 @@ function run()
     runTest(function() {
         iframeDoc.appendChild(document.doctype);
         console.log(document.doctype);
-    }, 'NotFoundError');
+    }, 'TypeError');
 
     // When setting a boundary of the range in a different
     // document, the call should succeed and the range should be collapsed.