Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Unified Diff: LayoutTests/fast/dom/Document/replace-child-expected.txt

Issue 779173002: Be more strict about multiple documentElements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Do the c -> child rename Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/docfragment-multiple-document-elements.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/docfragment-multiple-document-elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698