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

Side by Side Diff: LayoutTests/fast/dom/idl-union-type-unittest-expected.txt

Issue 704503002: IDL: Union type support for attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@union-arraybuffer
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
7 PASS unionTypesTest.doubleOrStringAttribute is 0
8 PASS unionTypesTest.doubleOrStringAttribute is 3.14
9 PASS unionTypesTest.doubleOrStringAttribute is "foo"
10 PASS unionTypesTest.doubleOrStringAttribute is "undefined"
11 PASS unionTypesTest.doubleOrStringAttribute is "null"
12 PASS unionTypesTest.doubleOrStringAttribute is "[object Object]"
13 PASS unionTypesTest.doubleOrStringAttribute is ""
14
6 Tests for method arguments 15 Tests for method arguments
7 PASS unionTypesTest.doubleOrStringArg(3.14) is "double is passed: 3.14" 16 PASS unionTypesTest.doubleOrStringArg(3.14) is "double is passed: 3.14"
8 PASS unionTypesTest.doubleOrStringArg("foo") is "string is passed: foo" 17 PASS unionTypesTest.doubleOrStringArg("foo") is "string is passed: foo"
9 PASS unionTypesTest.doubleOrStringArg(undefined) is "string is passed: undefined " 18 PASS unionTypesTest.doubleOrStringArg(undefined) is "string is passed: undefined "
10 PASS unionTypesTest.doubleOrStringArg(null) is "string is passed: null" 19 PASS unionTypesTest.doubleOrStringArg(null) is "string is passed: null"
11 PASS unionTypesTest.doubleOrStringArg({}) is "string is passed: [object Object]" 20 PASS unionTypesTest.doubleOrStringArg({}) is "string is passed: [object Object]"
12 PASS unionTypesTest.doubleOrStringArg([]) is "string is passed: " 21 PASS unionTypesTest.doubleOrStringArg([]) is "string is passed: "
13 PASS typeof unionTypesTest.doubleOrStringArg(new Date) is "string" 22 PASS typeof unionTypesTest.doubleOrStringArg(new Date) is "string"
14 PASS unionTypesTest.doubleOrStringArg() threw exception TypeError: Failed to exe cute 'doubleOrStringArg' on 'UnionTypesTest': 1 argument required, but only 0 pr esent.. 23 PASS unionTypesTest.doubleOrStringArg() threw exception TypeError: Failed to exe cute 'doubleOrStringArg' on 'UnionTypesTest': 1 argument required, but only 0 pr esent..
15 PASS successfullyParsed is true 24 PASS successfullyParsed is true
16 25
17 TEST COMPLETE 26 TEST COMPLETE
18 27
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/idl-union-type-unittest.html ('k') | Source/bindings/scripts/v8_attributes.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698