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

Unified Diff: LayoutTests/fast/dom/document-body-getter-setter-expected.txt

Issue 98543011: Improve Document exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Node. Created 6 years, 11 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-body-getter-setter-expected.txt
diff --git a/LayoutTests/fast/dom/document-body-getter-setter-expected.txt b/LayoutTests/fast/dom/document-body-getter-setter-expected.txt
index 60a16d17fbe7ad13977a2d1b7a8f63432200b37a..3b0b5ec07c197e1e51d80814cf1bf3f438255219 100644
--- a/LayoutTests/fast/dom/document-body-getter-setter-expected.txt
+++ b/LayoutTests/fast/dom/document-body-getter-setter-expected.txt
@@ -6,7 +6,7 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
PASS successfullyParsed is true
TEST COMPLETE
-PASS frame.contentDocument.body = document.createElement("div") threw exception HierarchyRequestError: A Node was inserted somewhere it doesn't belong..
+PASS frame.contentDocument.body = document.createElement("div") threw exception HierarchyRequestError: Failed to set the 'body' property on 'Document': The new body element is of type 'DIV'. It must be either a 'BODY' or 'FRAMESET' element..
PASS frame.contentDocument.body = document.createElement("frameset") did not throw exception.
PASS frame.contentDocument.documentElement.childNodes.length is 2
PASS frame.contentDocument.body = document.createElement("body") did not throw exception.
« no previous file with comments | « LayoutTests/fast/dom/document-body-getter-setter.html ('k') | LayoutTests/fast/dom/importNode-null-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698