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

Side by Side Diff: third_party/WebKit/LayoutTests/dom/domparsing/xmlserializer-serialize-to-string-exception-expected.txt

Issue 2667303004: Move tests for DOMParser and XMLSerializer to dom/domparsing/. (Closed)
Patch Set: Created 3 years, 10 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 tests XMLSerializer.serializeToString() throwing exception when node value is invalid and passing otherwise. 1 This tests XMLSerializer.serializeToString() throwing exception when node value is invalid and passing otherwise.
2 2
3 1. Verifying XMLSerializer.serializeToString() should THROW exception with no ar gument 3 1. Verifying XMLSerializer.serializeToString() should THROW exception with no ar gument
4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': 1 argument required, but only 0 present.] 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': 1 argument required, but only 0 present.]
5 PASS 5 PASS
6 6
7 2. Verifying XMLSerializer.serializeToString() should THROW exception with argum ent null 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with argum ent null
8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': parameter 1 is not of type 'Node'.] 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': parameter 1 is not of type 'Node'.]
9 PASS 9 PASS
10 10
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 PASS 42 PASS
43 43
44 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLHtmlElement] 44 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLHtmlElement]
45 PASS 45 PASS
46 46
47 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object XMLDocument] 47 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object XMLDocument]
48 PASS 48 PASS
49 49
50 15. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object Element] 50 15. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object Element]
51 PASS 51 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698