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

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

Issue 16818023: DOMException toString is not correct (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 | Annotate | Revision Log
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 Error: IndexSizeError: DOM Ex ception 1. 3 PASS mySelect.options.length = -1; threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
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
11 PASS mySelect.selectedIndex is 1 11 PASS mySelect.selectedIndex is 1
12 PASS mySelect.options.length is 1 12 PASS mySelect.options.length is 1
13 PASS mySelect.selectedIndex is -1 13 PASS mySelect.selectedIndex is -1
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 16) setting an existing element by index 50 16) setting an existing element by index
51 PASS mySelect.options.length is 11 51 PASS mySelect.options.length is 11
52 PASS mySelect.selectedIndex is 10 52 PASS mySelect.selectedIndex is 10
53 17) trying to set an element that's not an option: null 53 17) trying to set an element that's not an option: null
54 PASS mySelect.options.length is 10 54 PASS mySelect.options.length is 10
55 PASS mySelect.selectedIndex is -1 55 PASS mySelect.selectedIndex is -1
56 18) trying to set an element that's not an option: undefined 56 18) trying to set an element that's not an option: undefined
57 PASS mySelect.options.length is 10 57 PASS mySelect.options.length is 10
58 PASS mySelect.selectedIndex is -1 58 PASS mySelect.selectedIndex is -1
59 19) trying to set an element that's not an option: select element 59 19) trying to set an element that's not an option: select element
60 PASS mySelect.options[10] = mySelect; threw exception Error: TypeMismatchError: DOM Exception 17. 60 PASS mySelect.options[10] = mySelect; threw exception TypeMismatchError: The typ e of an object was incompatible with the expected type of the parameter associat ed to the object..
61 PASS mySelect.options.length is 10 61 PASS mySelect.options.length is 10
62 PASS mySelect.selectedIndex is -1 62 PASS mySelect.selectedIndex is -1
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 72
73 PASS successfullyParsed is true 73 PASS successfullyParsed is true
74 74
75 TEST COMPLETE 75 TEST COMPLETE
76 76
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698