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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/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
(Empty)
1 This tests XMLSerializer.serializeToString() throwing exception when node value is invalid and passing otherwise.
2
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.]
5 PASS
6
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'.]
9 PASS
10
11 3. Verifying XMLSerializer.serializeToString() should THROW exception with argum ent undefined
12 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': parameter 1 is not of type 'Node'.]
13 PASS
14
15 4. Verifying XMLSerializer.serializeToString() should THROW exception with argum ent <html><title>Hello World</title></html>
16 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': parameter 1 is not of type 'Node'.]
17 PASS
18
19 5. Verifying XMLSerializer.serializeToString() should THROW exception with argum ent [object HTMLCollection]
20 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': parameter 1 is not of type 'Node'.]
21 PASS
22
23 6. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with a rgument [object HTMLDocument]
24 PASS
25
26 7. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with a rgument [object HTMLHtmlElement]
27 PASS
28
29 8. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with a rgument [object HTMLHtmlElement]
30 PASS
31
32 9. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with a rgument [object HTMLDivElement]
33 PASS
34
35 10. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLHeadingElement]
36 PASS
37
38 11. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLUnknownElement]
39 PASS
40
41 12. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLDocument]
42 PASS
43
44 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object HTMLHtmlElement]
45 PASS
46
47 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object XMLDocument]
48 PASS
49
50 15. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with argument [object Element]
51 PASS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698