Summary

Harness status: OK

Found 11 tests

Details

ResultTest NameMessage
PassOverriding getter of [PutForwards] attribute
Asserts run
Pass
assert_true(true, "Overridden getter should be called")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:26:3)
Pass
assert_equals("green", "green", "Put forwarding still works")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:27:3)
PassOverriding setter of [PutForwards] target attribute
Asserts run
Pass
assert_true(true, "Overridden setter should be called")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:46:3)
Pass
assert_equals("green", "green", "Put forwarding still works")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:47:3)
PassOverriding target of [PutForwards] attribute
Asserts run
Pass
assert_equals("", "", "Original value intact")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:65:3)
Pass
assert_equals("color: green", "color: green", "Fake style object updated")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:66:3)
PassException propagation from getter of [PutForwards] attribute
Asserts run
Pass
assert_throws_js(function "function SyntaxError() { [native code] }", function "() => {     element.style = "color: green";   }")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:80:3)
PassException propagation from setter of [PutForwards] target attribute
Asserts run
Pass
assert_throws_js(function "function SyntaxError() { [native code] }", function "() => {     element.style = "color: green";   }")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:97:3)
PassTypeError when getter of [PutForwards] attribute returns non-object
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "() => {     element.style = "color: green";   }")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:113:3)
PassDoes not throw when setter of [PutForwards] attribute returns false
Asserts run
Pass
assert_equals(object "[object CSSStyleDeclaration]", object "[object CSSStyleDeclaration]")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:129:3)
Pass
assert_equals(null, null)
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:130:3)
PassSetting a.relList to noreferrer is reflected in rel
Asserts run
Pass
assert_true(true, "The attribute is a DOMTokenList")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:136:5)
Pass
assert_equals("noreferrer", "noreferrer", "Setting the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:138:5)
Pass
assert_equals("", "", "Clearing the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:140:5)
PassSetting area.relList to noreferrer is reflected in rel
Asserts run
Pass
assert_true(true, "The attribute is a DOMTokenList")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:136:5)
Pass
assert_equals("noreferrer", "noreferrer", "Setting the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:138:5)
Pass
assert_equals("", "", "Clearing the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:140:5)
PassSetting form.relList to noreferrer is reflected in rel
Asserts run
Pass
assert_true(true, "The attribute is a DOMTokenList")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:136:5)
Pass
assert_equals("noreferrer", "noreferrer", "Setting the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:138:5)
Pass
assert_equals("", "", "Clearing the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:140:5)
PassSetting link.relList to stylesheet is reflected in rel
Asserts run
Pass
assert_true(true, "The attribute is a DOMTokenList")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:136:5)
Pass
assert_equals("stylesheet", "stylesheet", "Setting the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:138:5)
Pass
assert_equals("", "", "Clearing the attribute is reflected in the target")
    at Test.<anonymous> ( /webidl/ecmascript-binding/put-forwards.html:140:5)