Index: LayoutTests/fast/dom/Document/replace-child-expected.txt |
diff --git a/LayoutTests/fast/dom/Document/replace-child-expected.txt b/LayoutTests/fast/dom/Document/replace-child-expected.txt |
index 769a336c76387bf66e41dfcfbf1b8d928a24f690..90fa35320e827b992ecd27ea1d0668e0a11bed38 100644 |
--- a/LayoutTests/fast/dom/Document/replace-child-expected.txt |
+++ b/LayoutTests/fast/dom/Document/replace-child-expected.txt |
@@ -12,7 +12,7 @@ PASS doc.replaceChild(fragment, doc.documentElement); did not throw exception. |
<!DOCTYPE html><div/> |
replacing element with multiple elements in fragment |
-PASS doc.replaceChild(fragment, doc.documentElement); threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Failed to replace child.. |
+PASS doc.replaceChild(fragment, doc.documentElement); threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Only one element on document allowed.. |
<!DOCTYPE html><body/> |
replacing element with doctype |
@@ -20,7 +20,7 @@ PASS doc.replaceChild(newChild, doc.documentElement) did not throw exception. |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> |
replacing element with doctype when a doctype already exists |
-PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Failed to replace child.. |
+PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Only one doctype on document allowed.. |
<!DOCTYPE html><body/> |
replacing doctype with doctype |
@@ -32,7 +32,7 @@ PASS doc.replaceChild(newChild, doc.doctype) did not throw exception. |
<bar/> |
replacing element with doctype when an element already exists |
-PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Failed to replace child.. |
+PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: Failed to execute 'replaceChild' on 'Node': Only one doctype on document allowed.. |
<!DOCTYPE html><body/> |
PASS successfullyParsed is true |