Fail | object.contentWindow | assert_equals: The contentWindow of the object element should be null as it is showing fallback content. expected null but got object "[object Window]" at Test.<anonymous> (https://wpt.live/html/semantics/embedded-content/the-object-element/object-attributes.html:33:7)
at Test.step (https://wpt.live/resources/testharness.js:2642:25)
at on_load (https://wpt.live/html/semantics/embedded-content/the-object-element/object-attributes.html:30:8)
at onload (https://wpt.live/html/semantics/embedded-content/the-object-element/object-attributes.html:7:26) Asserts runPass | assert_not_equals(object "[object Window]", null, "The contentWindow of the object element should not be null.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:31:7) | Pass | assert_equals(null, null, "The contentWindow of the object element should be null when it type attribute starts with 'image/'.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:32:7) | Fail | assert_equals(object "[object Window]", null, "The contentWindow of the object element should be null as it is showing fallback content.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:33:7) |
|
Pass | object.contentWindow.name | Asserts runPass | assert_equals("o", "o", "The contentWindow's name of the object element should be 'o'.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:38:7) | Pass | assert_equals("o1", "o1", "The name of the object element should be 'o1'.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:40:7) | Pass | assert_equals("o", "o", "The contentWindow's name of the object element should still be 'o'.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:41:7) | Pass | assert_equals("", "", "The name of the object element should be empty string.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:43:7) | Pass | assert_equals("o", "o", "The contentWindow's name of the object element should still be 'o'.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:44:7) |
|
Pass | object.width | Asserts runPass | assert_equals("100px", "100px", "The width should be 100px.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:49:7) |
|
Pass | object.height | Asserts runPass | assert_equals("50px", "50px", "The height should be 50px.")
at Test.<anonymous> ( /html/semantics/embedded-content/the-object-element/object-attributes.html:54:7) |
|