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

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

Issue 99083002: WIP: Migrate generated bindings to new ExceptionState constructor. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 7 years 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 node value = null 3 1. Verifying XMLSerializer.serializeToString() should THROW exception with node value = null
4 Exception thrown = [TypeError: Invalid node value.] 4 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': Invalid node value.]
5 PASS 5 PASS
6 6
7 2. Verifying XMLSerializer.serializeToString() should THROW exception with node value = undefined 7 2. Verifying XMLSerializer.serializeToString() should THROW exception with node value = undefined
8 Exception thrown = [TypeError: Invalid node value.] 8 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': Invalid node value.]
9 PASS 9 PASS
10 10
11 3. Verifying XMLSerializer.serializeToString() should THROW exception with node value = <html><title>Hello World</title></html> 11 3. Verifying XMLSerializer.serializeToString() should THROW exception with node value = <html><title>Hello World</title></html>
12 Exception thrown = [TypeError: Invalid node value.] 12 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': Invalid node value.]
13 PASS 13 PASS
14 14
15 4. Verifying XMLSerializer.serializeToString() should THROW exception with node value = [object HTMLCollection] 15 4. Verifying XMLSerializer.serializeToString() should THROW exception with node value = [object HTMLCollection]
16 Exception thrown = [TypeError: Invalid node value.] 16 Exception thrown = [TypeError: Failed to execute 'serializeToString' on 'XMLSeri alizer': Invalid node value.]
17 PASS 17 PASS
18 18
19 5. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLDocument] 19 5. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLDocument]
20 PASS 20 PASS
21 21
22 6. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLHtmlElement] 22 6. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLHtmlElement]
23 PASS 23 PASS
24 24
25 7. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLHtmlElement] 25 7. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with n ode value = [object HTMLHtmlElement]
26 PASS 26 PASS
(...skipping 11 matching lines...) Expand all
38 PASS 38 PASS
39 39
40 12. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object HTMLHtmlElement] 40 12. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object HTMLHtmlElement]
41 PASS 41 PASS
42 42
43 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object Document] 43 13. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object Document]
44 PASS 44 PASS
45 45
46 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object Element] 46 14. Verifying XMLSerializer.serializeToString() should NOT-THROW exception with node value = [object Element]
47 PASS 47 PASS
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/setter-type-enforcement-expected.txt ('k') | LayoutTests/fast/dynamic/insertAdjacentElement-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698