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

Side by Side Diff: LayoutTests/fast/js/dot-node-base-exception-expected.txt

Issue 375213003: Node.appendChild should throw TypeError when newChild is omitted (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Take review comment into consideration Created 6 years, 5 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
OLDNEW
1 This test checks that a correct exception is raised when calculating the base va lue of a dot expression fails. 1 This test checks that a correct exception is raised when calculating the base va lue of a dot expression fails.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS (document.appendChild()).foobar() threw exception NotFoundError: Failed to execute 'appendChild' on 'Node': The new child element is null.. 6 PASS (document.appendChild()).foobar() threw exception TypeError: Failed to exec ute 'appendChild' on 'Node': 1 argument required, but only 0 present..
7 PASS successfullyParsed is true 7 PASS successfullyParsed is true
8 8
9 TEST COMPLETE 9 TEST COMPLETE
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698