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

Side by Side Diff: LayoutTests/fast/js/script-tests/dot-node-base-exception.js

Issue 24982002: Clean up ContainerNode exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebaseline. 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 description( 1 description(
2 "This test checks that a correct exception is raised when calculating the base v alue of a dot expression fails." 2 "This test checks that a correct exception is raised when calculating the base v alue of a dot expression fails."
3 ); 3 );
4 4
5 // Should be a DOM exception, not just some "TypeError: Null value". 5 // Should be a DOM exception, not just some "TypeError: Null value".
6 shouldThrow('(document.appendChild()).foobar()', '"NotFoundError: Failed to exec ute \'appendChild\' on \'ContainerNode\': The new child element is null."'); 6 shouldThrow('(document.appendChild()).foobar()', '"NotFoundError: Failed to exec ute \'appendChild\' on \'Node\': The new child element is null."');
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/dot-node-base-exception-expected.txt ('k') | Source/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698