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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 months 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
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 54c124f74171a6ff7542bb611f299324c08abcb5..aec7339ed65b76d83ae5d01a58b72a00c750c82c 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 Error: HierarchyRequestError: DOM Exception 3.
+PASS doc.replaceChild(fragment, doc.documentElement); threw exception HierarchyRequestError: A Node was inserted somewhere it doesn't belong..
<!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 Error: HierarchyRequestError: DOM Exception 3.
+PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: A Node was inserted somewhere it doesn't belong..
<!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 Error: HierarchyRequestError: DOM Exception 3.
+PASS doc.replaceChild(newChild, doc.documentElement) threw exception HierarchyRequestError: A Node was inserted somewhere it doesn't belong..
<!DOCTYPE html><body/>
PASS successfullyParsed is true

Powered by Google App Engine
This is Rietveld 408576698