Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassOption constructor with no arguments
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:20:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:22:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:23:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:24:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:25:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:27:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:28:5)
PassOption constructor with falsy arguments
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:34:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:36:5)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:37:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:38:5)
Pass
assert_equals("false", "false")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:39:5)
Pass
assert_equals("false", "false")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:40:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:41:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:42:5)
Pass
assert_equals("false", "false")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:44:5)
Pass
assert_equals("false", "false")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:45:5)
PassOption constructor creates HTMLOptionElement with specified text and value
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:51:5)
Pass
assert_equals(1, 1)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:52:5)
Pass
assert_equals(3, 3)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:53:5)
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:54:5)
Pass
assert_equals("value", "value")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:55:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:56:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:57:5)
Pass
assert_equals("text", "text")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:59:5)
Pass
assert_equals("value", "value")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:60:5)
PassOption constructor handles selectedness correctly when specified with defaultSelected only
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:67:5)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:68:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:69:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:71:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:72:5)
PassOption constructor handles selectedness correctly, even when incongruous with defaultSelected
Asserts run
Pass
assert_equals(false, false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:79:5)
Pass
assert_equals(true, true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:80:5)
PassOption constructor treats undefined text and value correctly
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:86:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:87:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:89:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:90:5)
PassOption constructor treats empty text and value correctly
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:96:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:97:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:99:5)
Pass
assert_equals("", "")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:100:5)
PassOption constructor treats falsy selected and defaultSelected correctly
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:106:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:107:5)
PassOption constructor treats truthy selected and defaultSelected correctly
Asserts run
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:113:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:114:5)
PassOption constructor does not set dirtiness (so, manipulating the selected content attribute still updates the selected IDL attribute)
Asserts run
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:120:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:121:5)
Pass
assert_true(true)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:124:5)
Pass
assert_false(false)
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:127:5)
PassPrototype of object created with named constructor
Asserts run
Pass
assert_equals(object "[object HTMLOptionElement]", object "[object HTMLOptionElement]")
    at Test.<anonymous> ( /html/semantics/forms/the-option-element/option-element-constructor.html:133:5)