Summary

Harness status: OK

Found 88 tests

Details

ResultTest NameMessage
Passtext setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passtext selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passtext selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passtext selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passtext selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passtext selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passtext setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passtext setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passtext setRangeText fires a select event
Asserts runNo asserts ran
Passtext setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passtext setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passsearch setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passsearch selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passsearch selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passsearch selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passsearch selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passsearch selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passsearch setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passsearch setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passsearch setRangeText fires a select event
Asserts runNo asserts ran
Passsearch setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passsearch setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passtel setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passtel selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passtel selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passtel selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passtel selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passtel selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passtel setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passtel setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passtel setRangeText fires a select event
Asserts runNo asserts ran
Passtel setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passtel setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passurl setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passurl selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passurl selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passurl selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passurl selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passurl selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passurl setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passurl setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passurl setRangeText fires a select event
Asserts runNo asserts ran
Passurl setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passurl setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passpassword setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passpassword selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passpassword selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passpassword selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passpassword selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passpassword selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passpassword setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passpassword setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passpassword setRangeText fires a select event
Asserts runNo asserts ran
Passpassword setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passpassword setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passdisplay_none setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passdisplay_none selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passdisplay_none selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passdisplay_none selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passdisplay_none selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passdisplay_none selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passdisplay_none setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passdisplay_none setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passdisplay_none setRangeText fires a select event
Asserts runNo asserts ran
Passdisplay_none setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passdisplay_none setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passtextarea setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passtextarea selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passtextarea selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passtextarea selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passtextarea selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passtextarea selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passtextarea setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passtextarea setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passtextarea setRangeText fires a select event
Asserts runNo asserts ran
Passtextarea setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passtextarea setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)
Passinput_not_in_doc setRangeText with only one argument replaces the value between selectionStart and selectionEnd, otherwise replaces the value between 2nd and 3rd arguments
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:46:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:47:7)
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:49:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:50:7)
Pass
assert_equals(7, 7)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:51:7)
Pass
assert_equals("foobar2foobar3", "foobar2foobar3")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:53:7)
Passinput_not_in_doc selectionMode missing
Asserts run
Pass
assert_equals("foobar2bar", "foobar2bar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:62:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:63:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:64:7)
Passinput_not_in_doc selectionMode 'select'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:70:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:71:7)
Pass
assert_equals(6, 6)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:72:7)
Passinput_not_in_doc selectionMode 'start'
Asserts run
Pass
assert_equals("foofoo", "foofoo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:78:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:79:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:80:7)
Passinput_not_in_doc selectionMode 'end'
Asserts run
Pass
assert_equals("foofoobar", "foofoobar")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:86:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:87:7)
Pass
assert_equals(9, 9)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:88:7)
Passinput_not_in_doc selectionMode 'preserve'
Asserts run
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:95:7)
Pass
assert_equals("foo", "foo")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:97:7)
Pass
assert_equals(0, 0)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:98:7)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:99:7)
Passinput_not_in_doc setRangeText with 3rd argument greater than 2nd argument throws an IndexSizeError exception
Asserts run
Pass
assert_throws_dom("INDEX_SIZE_ERR", function "function() {         element.setRangeText("barfoo", 2, 1);       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:103:7)
Passinput_not_in_doc setRangeText without argument throws a type error
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function() {         element.setRangeText();       }")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:109:7)
Passinput_not_in_doc setRangeText fires a select event
Asserts runNo asserts ran
Passinput_not_in_doc setRangeText fires a select event when fully selected
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:141:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:142:7)
Passinput_not_in_doc setRangeText fires a select event after select()
Asserts run
Pass
assert_equals(0, 0, ".selectionStart")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:151:7)
Pass
assert_equals(22, 22, ".selectionEnd")
    at Test.<anonymous> ( /html/semantics/forms/textfieldselection/textfieldselection-setRangeText.html:152:7)