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

Side by Side Diff: LayoutTests/fast/dom/HTMLSelectElement/select-selectedIndex-expected.txt

Issue 716773002: Use union types for HTMLSelectElement.add()'s arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: added FIXME 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
« no previous file with comments | « no previous file | LayoutTests/fast/dom/incompatible-operations-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 1) setting length to a negative length 2 1) setting length to a negative length
3 PASS mySelect.options.length = -1; threw exception IndexSizeError: Failed to set the 'length' property on 'HTMLOptionsCollection': The value provided (-1) is ne gative. Lengths must be greater than or equal to 0.. 3 PASS mySelect.options.length = -1; threw exception IndexSizeError: Failed to set the 'length' property on 'HTMLOptionsCollection': The value provided (-1) is ne gative. Lengths must be greater than or equal to 0..
4 PASS mySelect.options.length is 2 4 PASS mySelect.options.length is 2
5 PASS mySelect.selectedIndex is 1 5 PASS mySelect.selectedIndex is 1
6 2) setting length to a larger length 6 2) setting length to a larger length
7 PASS mySelect.options.length is 5 7 PASS mySelect.options.length is 5
8 PASS mySelect.selectedIndex is 1 8 PASS mySelect.selectedIndex is 1
9 3) setting length to a smaller length 9 3) setting length to a smaller length
10 PASS mySelect.options.length is 2 10 PASS mySelect.options.length is 2
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 20) trying to set a option element using an invalid index: negative infinity 63 20) trying to set a option element using an invalid index: negative infinity
64 PASS mySelect.options.length is 10 64 PASS mySelect.options.length is 10
65 PASS mySelect.selectedIndex is -1 65 PASS mySelect.selectedIndex is -1
66 21) trying to set a option element using an invalid index: NaN 66 21) trying to set a option element using an invalid index: NaN
67 PASS mySelect.options.length is 10 67 PASS mySelect.options.length is 10
68 PASS mySelect.selectedIndex is -1 68 PASS mySelect.selectedIndex is -1
69 22) trying to set a option element using an invalid index: positive infinity 69 22) trying to set a option element using an invalid index: positive infinity
70 PASS mySelect.options.length is 10 70 PASS mySelect.options.length is 10
71 PASS mySelect.selectedIndex is -1 71 PASS mySelect.selectedIndex is -1
72 23) trying to add a non-option element 72 23) trying to add a non-option element
73 PASS mySelect.options.add({}) threw exception TypeError: Failed to execute 'add' on 'HTMLOptionsCollection': The element provided was not an HTMLOptionElement.. 73 PASS mySelect.options.add({}) threw exception TypeError: Failed to execute 'add' on 'HTMLOptionsCollection': Not a valid union member..
74 PASS mySelect.options.length is 10 74 PASS mySelect.options.length is 10
75 PASS mySelect.selectedIndex is -1 75 PASS mySelect.selectedIndex is -1
76 76
77 PASS successfullyParsed is true 77 PASS successfullyParsed is true
78 78
79 TEST COMPLETE 79 TEST COMPLETE
80 80
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/incompatible-operations-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698