Pass | Element: setHTMLUnsafe with no shadowdom. | Asserts runPass | assert_equals(1, 1, "Only one child node should be created.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:22:5) | Pass | assert_equals("SPAN", "SPAN", "The child element should be a span.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:23:5) | Pass | assert_equals("hello", "hello", "The title attribute should be set to hello.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:24:5) | Pass | assert_equals(1, 1, "The span should have one child.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:26:5) | Pass | assert_true(true, "The spans child should be a text node.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:28:5) | Pass | assert_equals("world", "world", "The spans textContent should be world.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:30:5) |
|
Pass | Element: setHTMLUnsafe with shadowdom. | Asserts runPass | assert_equals(1, 1, "One child should be created in the container.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:38:5) | Pass | assert_true(true, "The containers child should have a ShadowRoot.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:40:5) | Pass | assert_equals(1, 1, "One child should be created in the ShadowRoot.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:41:5) | Pass | assert_equals("hello", "hello", "The ShadowRoots childs textContent should be hello.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:42:5) |
|
Pass | ShadowRoot: setHTMLUnsafe with no shadowdom. | Asserts runPass | assert_equals(1, 1, "Only one child node should be created.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:22:5) | Pass | assert_equals("SPAN", "SPAN", "The child element should be a span.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:23:5) | Pass | assert_equals("hello", "hello", "The title attribute should be set to hello.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:24:5) | Pass | assert_equals(1, 1, "The span should have one child.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:26:5) | Pass | assert_true(true, "The spans child should be a text node.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:28:5) | Pass | assert_equals("world", "world", "The spans textContent should be world.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:30:5) |
|
Pass | ShadowRoot: setHTMLUnsafe with shadowdom. | Asserts runPass | assert_equals(1, 1, "One child should be created in the container.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:38:5) | Pass | assert_true(true, "The containers child should have a ShadowRoot.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:40:5) | Pass | assert_equals(1, 1, "One child should be created in the ShadowRoot.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:41:5) | Pass | assert_equals("hello", "hello", "The ShadowRoots childs textContent should be hello.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:42:5) |
|
Pass | template.setHTMLUnsafe() should modify template content fragment rather than actual children. | Asserts runPass | assert_equals(0, 0, "template should not have any child nodes.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:51:3) | Pass | assert_equals(1, 1, "template content should have a child div.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:52:3) | Pass | assert_equals("hello world", "hello world", "text content should be set.")
at Test.<anonymous> ( /html/webappapis/dynamic-markup-insertion/html-unsafe-methods/setHTMLUnsafe.html:53:3) |
|