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/idl-union-type-unittest-expected.txt

Issue 692993003: Named getter of HTMLAllCollection etc should be nullable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@union-nullable
Patch Set: Created 6 years, 1 month 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 IDL union types unittests 1 IDL union types unittests
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 Tests for attributes 6 Tests for attributes
7 PASS unionTypesTest.doubleOrStringAttribute is 0 7 PASS unionTypesTest.doubleOrStringAttribute is 0
8 PASS unionTypesTest.doubleOrStringAttribute is 3.14 8 PASS unionTypesTest.doubleOrStringAttribute is 3.14
9 PASS unionTypesTest.doubleOrStringAttribute is "foo" 9 PASS unionTypesTest.doubleOrStringAttribute is "foo"
10 PASS unionTypesTest.doubleOrStringAttribute is "undefined" 10 PASS unionTypesTest.doubleOrStringAttribute is "undefined"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 PASS unionTypesTest.doubleOrStringDefaultDoubleArg(undefined) is "double is pass ed: 3.14" 43 PASS unionTypesTest.doubleOrStringDefaultDoubleArg(undefined) is "double is pass ed: 3.14"
44 PASS unionTypesTest.doubleOrStringDefaultDoubleArg("foo") is "string is passed: foo" 44 PASS unionTypesTest.doubleOrStringDefaultDoubleArg("foo") is "string is passed: foo"
45 PASS unionTypesTest.doubleOrStringDefaultStringArg() is "string is passed: foo" 45 PASS unionTypesTest.doubleOrStringDefaultStringArg() is "string is passed: foo"
46 PASS unionTypesTest.doubleOrStringDefaultStringArg(undefined) is "string is pass ed: foo" 46 PASS unionTypesTest.doubleOrStringDefaultStringArg(undefined) is "string is pass ed: foo"
47 PASS unionTypesTest.doubleOrStringDefaultStringArg(3.14) is "double is passed: 3 .14" 47 PASS unionTypesTest.doubleOrStringDefaultStringArg(3.14) is "double is passed: 3 .14"
48 PASS unionTypesTest.doubleOrStringDefaultNullArg() is "null is passed" 48 PASS unionTypesTest.doubleOrStringDefaultNullArg() is "null is passed"
49 PASS unionTypesTest.doubleOrStringDefaultNullArg(undefined) is "null is passed" 49 PASS unionTypesTest.doubleOrStringDefaultNullArg(undefined) is "null is passed"
50 PASS unionTypesTest.doubleOrStringDefaultNullArg(null) is "null is passed" 50 PASS unionTypesTest.doubleOrStringDefaultNullArg(null) is "null is passed"
51 PASS unionTypesTest.doubleOrStringDefaultNullArg(3.14) is "double is passed: 3.1 4" 51 PASS unionTypesTest.doubleOrStringDefaultNullArg(3.14) is "double is passed: 3.1 4"
52 PASS unionTypesTest.doubleOrStringDefaultNullArg("foo") is "string is passed: fo o" 52 PASS unionTypesTest.doubleOrStringDefaultNullArg("foo") is "string is passed: fo o"
53
54 Tests for nullable method arguments
55 PASS unionTypesTest.nodeListOrElementOrNullArg(undefined) is "null or undefined is passed"
56 PASS unionTypesTest.nodeListOrElementOrNullArg(null) is "null or undefined is pa ssed"
57 PASS unionTypesTest.nodeListOrElementOrNullArg(nodeList) is "nodelist is passed"
58 PASS unionTypesTest.nodeListOrElementOrNullArg(element) is "element is passed"
59 PASS unionTypesTest.nodeListOrElementOrNullArg(3.14) threw exception TypeError: Failed to execute 'nodeListOrElementOrNullArg' on 'UnionTypesTest': Not a valid union member..
60 PASS unionTypesTest.nodeListOrElementOrNullArg("foo") threw exception TypeError: Failed to execute 'nodeListOrElementOrNullArg' on 'UnionTypesTest': Not a valid union member..
61 PASS unionTypesTest.nodeListOrElementOrNullArg({}) threw exception TypeError: Fa iled to execute 'nodeListOrElementOrNullArg' on 'UnionTypesTest': Not a valid un ion member..
62 PASS unionTypesTest.nodeListOrElementOrNullArg([]) threw exception TypeError: Fa iled to execute 'nodeListOrElementOrNullArg' on 'UnionTypesTest': Not a valid un ion member..
63 PASS unionTypesTest.nodeListOrElementArg(undefined) threw exception TypeError: F ailed to execute 'nodeListOrElementArg' on 'UnionTypesTest': Not a valid union m ember..
64 PASS unionTypesTest.nodeListOrElementArg(null) threw exception TypeError: Failed to execute 'nodeListOrElementArg' on 'UnionTypesTest': Not a valid union member ..
65 PASS unionTypesTest.nodeListOrElementArg(nodeList) is "nodelist is passed"
66 PASS unionTypesTest.nodeListOrElementArg(element) is "element is passed"
53 PASS successfullyParsed is true 67 PASS successfullyParsed is true
54 68
55 TEST COMPLETE 69 TEST COMPLETE
56 70
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/idl-union-type-unittest.html ('k') | Source/core/html/HTMLAllCollection.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698