| Index: LayoutTests/fast/js/select-options-add-expected.txt
|
| diff --git a/LayoutTests/fast/js/select-options-add-expected.txt b/LayoutTests/fast/js/select-options-add-expected.txt
|
| index 86f1e26798c5b7347f79502da997586461c63ac0..e552b9b5b4b94e94f7ea40ff4803291e8565569e 100644
|
| --- a/LayoutTests/fast/js/select-options-add-expected.txt
|
| +++ b/LayoutTests/fast/js/select-options-add-expected.txt
|
| @@ -29,47 +29,47 @@ PASS select1.options[2].value is '3'
|
| PASS select1.options[2].textContent is 'C'
|
|
|
| 1.4 Add a non-Option element
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.5 Add a non-element (string)
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.6 Add a non-element (number)
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.7 Add a non-element (boolean)
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.8 Add undefined
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.9 Add null
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.10 Add negative infinity
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.11 Add NaN
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| 1.12 Add positive infinity
|
| -PASS select1.options.add(option1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select1.options.add(option1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select1.options.length is 3
|
| PASS select1.selectedIndex is 0
|
|
|
| @@ -158,7 +158,7 @@ PASS select2.options[6].value is '5'
|
| PASS select2.options[6].textContent is 'E'
|
|
|
| 2.8 Add an Option at index -2
|
| -PASS select2.options.add(option2, -2) threw exception Error: IndexSizeError: DOM Exception 1.
|
| +PASS select2.options.add(option2, -2) threw exception IndexSizeError: Index or size was negative, or greater than the allowed value..
|
| PASS select2.options.length is 7
|
| PASS select2.selectedIndex is 1
|
|
|
| @@ -178,47 +178,47 @@ PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.12 Add a non-Option element
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.13 Add a non-element (string)
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.14 Add a non-element (number)
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.15 Add a non-element (boolean)
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.16 Add undefined
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.17 Add null
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.18 Add negative infinity
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.19 Add NaN
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
| 2.20 Add positive infinity
|
| -PASS select2.options.add(option2, 1) threw exception Error: TypeMismatchError: DOM Exception 17.
|
| +PASS select2.options.add(option2, 1) threw exception TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object..
|
| PASS select2.options.length is 10
|
| PASS select2.selectedIndex is 4
|
|
|
|
|