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

Side by Side Diff: LayoutTests/fast/dom/DOMException/stack-trace-expected.txt

Issue 23889039: Improve 'ContainerNode' exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 PASS "stack" in e is true 1 PASS "stack" in e is true
2 PASS typeof e.stack is "string" 2 PASS typeof e.stack is "string"
3 PASS e.stack.contains("innerFunction") is true 3 PASS e.stack.contains("innerFunction") is true
4 PASS e.stack.contains("outerFunction") is true 4 PASS e.stack.contains("outerFunction") is true
5 PASS Object.prototype.toString.call(e) is "[object DOMException]" 5 PASS Object.prototype.toString.call(e) is "[object DOMException]"
6 PASS e.toString() is "HierarchyRequestError: A Node was inserted somewhere it do esn't belong." 6 PASS e.toString() is "HierarchyRequestError: Failed to execute 'appendChild' on 'ContainerNode': The new child element contains the parent."
7 PASS e.name is "HierarchyRequestError" 7 PASS e.name is "HierarchyRequestError"
8 PASS e.message is "A Node was inserted somewhere it doesn't belong." 8 PASS e.message is "Failed to execute 'appendChild' on 'ContainerNode': The new c hild element contains the parent."
9 PASS e.code is 3 9 PASS e.code is 3
10 PASS e.stack === 42 is true 10 PASS e.stack === 42 is true
11 PASS successfullyParsed is true 11 PASS successfullyParsed is true
12 12
13 TEST COMPLETE 13 TEST COMPLETE
14 14
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698