Summary

Harness status: OK

Found 5 tests

Details

ResultTest NameMessage
PassValue returns the current value for password
Asserts run
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:20:7)
Pass
assert_equals("foobar", "foobar")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:21:7)
PassSetting value changes the current value for password, but not the value content attribute
Asserts run
Pass
assert_equals("A", "A")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:26:7)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:27:7)
Pass
assert_equals("B", "B")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:29:7)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:30:7)
PassValue sanitization algorithm should strip line breaks for password
Asserts run
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:36:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:38:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:40:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:44:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:46:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:48:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:52:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:54:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:56:7)
Pass
assert_equals("AB", "AB")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:58:7)
Passsanitization algorithm doesn't strip leading and trailing whitespaces
Asserts run
Pass
assert_equals("password", "password")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:64:5)
Pass
assert_equals("  pass  word  ", "  pass  word  ")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:66:5)
Passsanitization algorithm strips line breaks
Asserts run
Pass
assert_equals("password", "password")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:71:5)
Pass
assert_equals("password", "password")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:73:5)
Pass
assert_equals("password", "password")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:75:5)
Pass
assert_equals("password", "password")
    at Test.<anonymous> ( /html/semantics/forms/the-input-element/password.html:77:5)