constructors.html

FAILExpected4 of 15 subtests pass529 ms

Details

Test
/webidl/ecmascript-binding/constructors.html
Harness
OK

Subtests

StatusSubtestMessage
PASSRealm for constructed objects
PASSNormal constructor in parent window
FAILNormal constructor in child window
assert_equals: expected "child window" but got "parent window"
assert_equals: expected "child window" but got "parent window"
FAILConstructor in child window with normal NewTarget from parent window
assert_equals: expected "child window" but got "parent window"
assert_equals: expected "child window" but got "parent window"
PASSConstructor in parent window with normal NewTarget from child window
PASSSubclass constructor in parent window
FAILSubclass constructor in child window
child.DOMParserSubclass is not a constructor
child.DOMParserSubclass is not a constructor
FAILSubclass constructor in parent window with parent class in child window
assert_equals: expected "child window" but got "parent window"
assert_equals: expected "child window" but got "parent window"
FAILSubclass constructor in child window with parent class in parent window
child.ForeignDOMParserSubclass is not a constructor
child.ForeignDOMParserSubclass is not a constructor
FAILConstructor in child window with bad NewTarget from parent window
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
FAILConstructor in parent window with bad NewTarget from child window
undefined is not a constructor
undefined is not a constructor
FAILConstructor in parent window with bad NewTarget from parent window that's a bound child window function
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
FAILConstructor in child window with bad NewTarget from child window that's a bound parent window function
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
FAILConstructor in parent window with bad NewTarget from parent window that's a proxy for a child window function
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
assert_equals: expected object "[object DOMParser]" but got object "[object Object]"
FAILConstructor in child window with bad NewTarget from child window that's a proxy for a parent window function
child.Proxy is not a constructor
child.Proxy is not a constructor