OLD | NEW |
(Empty) | |
| 1 This is a testharness.js-based test. |
| 2 PASS test of input.setSelectionRange |
| 3 PASS input typeof(input.setSelectionRange)' |
| 4 PASS input setSelectionRange return void |
| 5 PASS input setSelectionRange(0,1) |
| 6 PASS input setSelectionRange(0,input.value.length+1) |
| 7 PASS input setSelectionRange(2,2) |
| 8 PASS input setSelectionRange(2,1) |
| 9 PASS input direction of setSelectionRange(0,1,"backward") |
| 10 PASS input direction of setSelectionRange(0,1,"forward") |
| 11 PASS input direction of setSelectionRange(0,1,"none") |
| 12 PASS input direction of setSelectionRange(0,1,"hoge") |
| 13 PASS input direction of setSelectionRange(0,1,"BACKWARD") |
| 14 PASS input direction of setSelectionRange(0,1) |
| 15 PASS input setSelectionRange("string",1) |
| 16 PASS input setSelectionRange(true,1) |
| 17 PASS input setSelectionRange([],1) |
| 18 PASS input setSelectionRange({},1) |
| 19 PASS input setSelectionRange(NaN,1) |
| 20 PASS input setSelectionRange(null,1) |
| 21 PASS input setSelectionRange(undefined,1) |
| 22 PASS test of textarea.setSelectionRange |
| 23 PASS textarea typeof(input.setSelectionRange)' |
| 24 PASS textarea setSelectionRange return void |
| 25 PASS textarea setSelectionRange(0,1) |
| 26 PASS textarea setSelectionRange(0,textarea.value.length+1) |
| 27 PASS textarea setSelectionRange(2,2) |
| 28 PASS textarea setSelectionRange(2,1) |
| 29 PASS textarea direction of setSelectionRange(0,1,"backward") |
| 30 PASS textarea direction of setSelectionRange(0,1,"forward") |
| 31 PASS textarea direction of setSelectionRange(0,1,"none") |
| 32 PASS textarea direction of setSelectionRange(0,1,"hoge") |
| 33 PASS textarea direction of setSelectionRange(0,1,"BACKWARD") |
| 34 PASS textarea direction of setSelectionRange(0,1) |
| 35 FAIL textarea setSelectionRange("string",1) assert_equals: element.selectionStar
t should be 0 expected 1 but got 0 |
| 36 PASS textarea setSelectionRange(true,1) |
| 37 FAIL textarea setSelectionRange([],1) assert_equals: element.selectionStart shou
ld be 0 expected 1 but got 0 |
| 38 FAIL textarea setSelectionRange({},1) assert_equals: element.selectionStart shou
ld be 0 expected 1 but got 0 |
| 39 FAIL textarea setSelectionRange(NaN,1) assert_equals: element.selectionStart sho
uld be 0 expected 1 but got 0 |
| 40 FAIL textarea setSelectionRange(null,1) assert_equals: element.selectionStart sh
ould be 0 expected 1 but got 0 |
| 41 FAIL textarea setSelectionRange(undefined,1) assert_equals: element.selectionSta
rt should be 0 expected 1 but got 0 |
| 42 Harness: the test ran to completion. |
| 43 |
OLD | NEW |