Index: LayoutTests/fast/dom/move-nodes-across-documents.html |
diff --git a/LayoutTests/fast/dom/move-nodes-across-documents.html b/LayoutTests/fast/dom/move-nodes-across-documents.html |
index 58eb3da30b5b9d6e2e0d77bc26831cdb3d51af2f..d3501a17db86c4ec860fb5f122c7d5cdae6f5a35 100644 |
--- a/LayoutTests/fast/dom/move-nodes-across-documents.html |
+++ b/LayoutTests/fast/dom/move-nodes-across-documents.html |
@@ -168,7 +168,7 @@ function run() |
}); |
runTest(function() { |
iframeDoc.implementation.createDocument('', 'html', document.doctype); |
- }, 'WrongDocumentError'); |
+ }); |
runTest(function() { |
rangeInIframe().compareBoundaryPoints(Range.END_TO_END, rangeInCurrentDocument()); |
}, 'WrongDocumentError'); |
@@ -179,7 +179,7 @@ function run() |
runTest(function() { |
iframeDoc.appendChild(document.doctype); |
console.log(document.doctype); |
- }, 'HierarchyRequestError'); |
+ }, 'NotFoundError'); |
// When setting a boundary of the range in a different |
// document, the call should succeed and the range should be collapsed. |