| Index: LayoutTests/fast/forms/setrangetext-expected.txt
|
| diff --git a/LayoutTests/fast/forms/setrangetext-expected.txt b/LayoutTests/fast/forms/setrangetext-expected.txt
|
| index 8646325aad546562bce8ec3feb9b2b13c876d3e0..593d328187e7e8f310fe14f2bd7bd4e9dc21f580 100644
|
| --- a/LayoutTests/fast/forms/setrangetext-expected.txt
|
| +++ b/LayoutTests/fast/forms/setrangetext-expected.txt
|
| @@ -77,10 +77,10 @@ PASS element.selectionStart is 6
|
| PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| -element.setRangeText('AB', 1, 1, 'invalid')
|
| -PASS element.value is "0AB123456789"
|
| -PASS element.selectionStart is 8
|
| -PASS element.selectionEnd is 11
|
| +PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLInputElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
|
| +PASS element.value is "0123456789"
|
| +PASS element.selectionStart is 6
|
| +PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| element.setRangeText('AB', 1, 1, undefined)
|
| @@ -201,10 +201,10 @@ PASS element.selectionStart is 6
|
| PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| -element.setRangeText('AB', 1, 1, 'invalid')
|
| -PASS element.value is "0AB123456789"
|
| -PASS element.selectionStart is 8
|
| -PASS element.selectionEnd is 11
|
| +PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLInputElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
|
| +PASS element.value is "0123456789"
|
| +PASS element.selectionStart is 6
|
| +PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| element.setRangeText('AB', 1, 1, undefined)
|
| @@ -325,10 +325,10 @@ PASS element.selectionStart is 6
|
| PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| -element.setRangeText('AB', 1, 1, 'invalid')
|
| -PASS element.value is "0AB123456789"
|
| -PASS element.selectionStart is 8
|
| -PASS element.selectionEnd is 11
|
| +PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLInputElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
|
| +PASS element.value is "0123456789"
|
| +PASS element.selectionStart is 6
|
| +PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| element.setRangeText('AB', 1, 1, undefined)
|
| @@ -449,10 +449,10 @@ PASS element.selectionStart is 6
|
| PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| -element.setRangeText('AB', 1, 1, 'invalid')
|
| -PASS element.value is "0AB123456789"
|
| -PASS element.selectionStart is 8
|
| -PASS element.selectionEnd is 11
|
| +PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLInputElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
|
| +PASS element.value is "0123456789"
|
| +PASS element.selectionStart is 6
|
| +PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| element.setRangeText('AB', 1, 1, undefined)
|
| @@ -573,10 +573,10 @@ PASS element.selectionStart is 6
|
| PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| -element.setRangeText('AB', 1, 1, 'invalid')
|
| -PASS element.value is "0AB123456789"
|
| -PASS element.selectionStart is 8
|
| -PASS element.selectionEnd is 11
|
| +PASS element.setRangeText('AB', 1, 1, 'invalid') threw exception TypeError: Failed to execute 'setRangeText' on 'HTMLInputElement': The provided value 'invalid' is not a valid enum value of type SelectionMode..
|
| +PASS element.value is "0123456789"
|
| +PASS element.selectionStart is 6
|
| +PASS element.selectionEnd is 9
|
| element.value = '0123456789'
|
| element.setSelectionRange(6, 9)
|
| element.setRangeText('AB', 1, 1, undefined)
|
|
|