Source code

Revision control

Copy as Markdown

Other Tools

[stream-insertion-logic.html]
[streamAppendHTML without a ref node]
expected: FAIL
[streamPrependHTML without a ref node]
expected: FAIL
[streamBeforeHTML with a ref_node at end]
expected: FAIL
[streamBeforeHTML with a ref_node in the middle]
expected: FAIL
[streamReplaceWithHTML with a ref_node at end]
expected: FAIL
[streamReplaceWithHTML with a ref_node in the middle]
expected: FAIL
[streamAfterHTML with a ref_node at end]
expected: FAIL
[streamAfterHTML with a ref_node in the middle]
expected: FAIL
[streamBeforeHTML with a ref_node at start]
expected: FAIL
[streamBeforeHTML with a comment ref_node]
expected: FAIL
[streamBeforeHTML with a text ref_node]
expected: FAIL
[streamBeforeHTML in a ShadowRoot]
expected: FAIL
[streamReplaceWithHTML with a ref_node at start]
expected: FAIL
[streamReplaceWithHTML with a comment ref_node]
expected: FAIL
[streamReplaceWithHTML with a text ref_node]
expected: FAIL
[streamReplaceWithHTML in a ShadowRoot]
expected: FAIL
[streamPrependHTML with a ref_node at start]
expected: FAIL
[streamPrependHTML with a comment ref_node]
expected: FAIL
[streamPrependHTML with a text ref_node]
expected: FAIL
[streamPrependHTML in a ShadowRoot]
expected: FAIL
[streamBeforeHTML should reject if ref node is removed]
expected: FAIL
[streamBeforeHTML should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamBeforeHTML in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamBeforeHTML: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamReplaceWithHTML should reject if ref node is removed]
expected: FAIL
[streamReplaceWithHTML should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamReplaceWithHTML in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamReplaceWithHTML: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamPrependHTML should reject if ref node is removed]
expected: FAIL
[streamPrependHTML should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamPrependHTML in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamPrependHTML: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamAfterHTML should reject if ref node is removed]
expected: FAIL
[streamAfterHTML should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamAfterHTML in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamAfterHTML: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamAppendHTMLUnsafe without a ref node]
expected: FAIL
[streamPrependHTMLUnsafe without a ref node]
expected: FAIL
[streamBeforeHTMLUnsafe with a ref_node at end]
expected: FAIL
[streamBeforeHTMLUnsafe with a ref_node in the middle]
expected: FAIL
[streamReplaceWithHTMLUnsafe with a ref_node at end]
expected: FAIL
[streamReplaceWithHTMLUnsafe with a ref_node in the middle]
expected: FAIL
[streamAfterHTMLUnsafe with a ref_node at end]
expected: FAIL
[streamAfterHTMLUnsafe with a ref_node in the middle]
expected: FAIL
[streamBeforeHTMLUnsafe with a ref_node at start]
expected: FAIL
[streamBeforeHTMLUnsafe with a comment ref_node]
expected: FAIL
[streamBeforeHTMLUnsafe with a text ref_node]
expected: FAIL
[streamBeforeHTMLUnsafe in a ShadowRoot]
expected: FAIL
[streamReplaceWithHTMLUnsafe with a ref_node at start]
expected: FAIL
[streamReplaceWithHTMLUnsafe with a comment ref_node]
expected: FAIL
[streamReplaceWithHTMLUnsafe with a text ref_node]
expected: FAIL
[streamReplaceWithHTMLUnsafe in a ShadowRoot]
expected: FAIL
[streamPrependHTMLUnsafe with a ref_node at start]
expected: FAIL
[streamPrependHTMLUnsafe with a comment ref_node]
expected: FAIL
[streamPrependHTMLUnsafe with a text ref_node]
expected: FAIL
[streamPrependHTMLUnsafe in a ShadowRoot]
expected: FAIL
[streamBeforeHTMLUnsafe should reject if ref node is removed]
expected: FAIL
[streamBeforeHTMLUnsafe should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamBeforeHTMLUnsafe in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamBeforeHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamReplaceWithHTMLUnsafe should reject if ref node is removed]
expected: FAIL
[streamReplaceWithHTMLUnsafe should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamReplaceWithHTMLUnsafe in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamReplaceWithHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamPrependHTMLUnsafe should reject if ref node is removed]
expected: FAIL
[streamPrependHTMLUnsafe should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamPrependHTMLUnsafe in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamPrependHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamAfterHTMLUnsafe should reject if ref node is removed]
expected: FAIL
[streamAfterHTMLUnsafe should reject if ref node is no longer child of the same parent]
expected: FAIL
[streamAfterHTMLUnsafe in a ShadowRoot should reject if ref node is removed]
expected: FAIL
[streamAfterHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError]
expected: FAIL
[streamBeforeHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream]
expected: FAIL
[streamBeforeHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream]
expected: FAIL
[streamBeforeHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction]
expected: FAIL
[streamBeforeHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry]
expected: FAIL
[streamBeforeHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamBeforeHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamBeforeHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream]
expected: FAIL
[streamBeforeHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream]
expected: FAIL
[streamBeforeHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>]
expected: FAIL
[streamBeforeHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamBeforeHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamBeforeHTMLUnsafe: close() after ref_node displacement with no further write resolves]
expected: FAIL
[streamBeforeHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream]
expected: FAIL
[streamBeforeHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue]
expected: FAIL
[streamBeforeHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved]
expected: FAIL
[streamBeforeHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced]
expected: FAIL
[streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream]
expected: FAIL
[streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream]
expected: FAIL
[streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction]
expected: FAIL
[streamReplaceWithHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry]
expected: FAIL
[streamReplaceWithHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamReplaceWithHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamReplaceWithHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream]
expected: FAIL
[streamReplaceWithHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream]
expected: FAIL
[streamReplaceWithHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>]
expected: FAIL
[streamReplaceWithHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamReplaceWithHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamReplaceWithHTMLUnsafe: close() after ref_node displacement with no further write resolves]
expected: FAIL
[streamReplaceWithHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream]
expected: FAIL
[streamReplaceWithHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue]
expected: FAIL
[streamReplaceWithHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved]
expected: FAIL
[streamReplaceWithHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced]
expected: FAIL
[streamPrependHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream]
expected: FAIL
[streamPrependHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream]
expected: FAIL
[streamPrependHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction]
expected: FAIL
[streamPrependHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry]
expected: FAIL
[streamPrependHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamPrependHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamPrependHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream]
expected: FAIL
[streamPrependHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream]
expected: FAIL
[streamPrependHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>]
expected: FAIL
[streamPrependHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamPrependHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamPrependHTMLUnsafe: close() after ref_node displacement with no further write resolves]
expected: FAIL
[streamPrependHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream]
expected: FAIL
[streamPrependHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue]
expected: FAIL
[streamPrependHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved]
expected: FAIL
[streamPrependHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced]
expected: FAIL
[streamAfterHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream]
expected: FAIL
[streamAfterHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream]
expected: FAIL
[streamAfterHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction]
expected: FAIL
[streamAfterHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry]
expected: FAIL
[streamAfterHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamAfterHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document]
expected: FAIL
[streamAfterHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream]
expected: FAIL
[streamAfterHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream]
expected: FAIL
[streamAfterHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>]
expected: FAIL
[streamAfterHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamAfterHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped]
expected: FAIL
[streamAfterHTMLUnsafe: close() after ref_node displacement with no further write resolves]
expected: FAIL
[streamAfterHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream]
expected: FAIL
[streamAfterHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue]
expected: FAIL
[streamAfterHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved]
expected: FAIL
[streamAfterHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced]
expected: FAIL
[streamAppendHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved]
expected: FAIL
[streamHTMLUnsafe: a replaceWithChildrenElements element foster parented before a table that became the document element is dropped with its children]
expected: FAIL
[streamHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts]
expected: FAIL
[streamAppendHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts]
expected: FAIL
[streamPrependHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts]
expected: FAIL
[streamPrependHTML on an empty target appends after children added later by other means]
expected: FAIL
[streamPrependHTML inserts before the first child at call time, not the current first child]
expected: FAIL
[streamAfterHTML on a last child appends after children added later by other means]
expected: FAIL
[streamReplaceWithHTML on a last child appends after children added later by other means]
expected: FAIL
[streamPrependHTMLUnsafe on an empty target appends after children added later by other means]
expected: FAIL
[streamPrependHTMLUnsafe inserts before the first child at call time, not the current first child]
expected: FAIL
[streamAfterHTMLUnsafe on a last child appends after children added later by other means]
expected: FAIL
[streamReplaceWithHTMLUnsafe on a last child appends after children added later by other means]
expected: FAIL
[streamHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts]
expected: FAIL
[streamAppendHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts]
expected: FAIL
[streamPrependHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts]
expected: FAIL
[Cross-realm streamBeforeHTMLUnsafe creates WritableStream and HierarchyRequestError in this's relevant realm]
expected: FAIL