Closed Bug 2079483 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63363 - Handle re-entrancy in <template for>

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 63363 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/63363
Details from upstream follow.

Noam Rosenthal <nrosenthal@chromium.org> wrote:

Handle re-entrancy in <template for>

Make sure we throw when document.write() happens inside a pagehide
that was instantiated by \<template for> node removal.

Bug: 570738038
Change-Id: Ie643919fb00db9efe87e08fcb4866b70177bc7db
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8525050
Reviewed-by: Philip Jägenstedt \<foolip@chromium.org>
Commit-Queue: Noam Rosenthal \<nrosenthal@google.com>
Cr-Commit-Position: refs/heads/main@{#1713453}

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 47 tests and 10 subtests

Status Summary

Firefox

OK : 1[GitHub] 47[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 17
FAIL : 8[GitHub] 502[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]

Chrome

CRASH: 1

Safari

OK : 1
FAIL : 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /html/semantics/scripting-1/the-template-element/template-for/template-for-append-element.html [wpt.fyi]
    • <template for> appending element: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-append-text-and-element.html [wpt.fyi]
    • <template for> with text: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-append-to-head.html [wpt.fyi]
    • HTML partial updates - append to head: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-case-sensitive-dom-inserted.html [wpt.fyi]
    • marker/end/start PI targets are parsed as lower case, but attributes are case-sensitive: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-case-sensitive.html [wpt.fyi]
    • marker/end/start PI targets, attributes and their values are case-sensitive: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-empty-hash.html [wpt.fyi]
    • empty hash matches marker without name attribute: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-foster-parenting.html [wpt.fyi]
    • Foster parenting inside <template for> keeps content in the target (iframe): FAIL
    • Foster parenting inside <template for> keeps content in the target (innerHTML): FAIL
    • Foster parenting inside <template for> keeps content in the target (stream): FAIL
    • Foster parenting out of a tr inside <template for> keeps content in the target (iframe): FAIL
    • Foster parenting out of a tr inside <template for> keeps content in the target (innerHTML): FAIL
    • Foster parenting out of a tr inside <template for> keeps content in the target (stream): FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-gradual-append.html [wpt.fyi]
    • Multiple <template for>: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-html-setters.html [wpt.fyi]
    • Setter innerHTML should patch targets inside the fragment: FAIL
    • Setter outerHTML should patch targets inside the fragment: FAIL
    • Setter setHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter insertAdjacentHTML should patch targets inside the fragment: FAIL
    • Setter appendHTMLUnsafe should not patch existing target in head: FAIL
    • Setter appendHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter appendHTMLUnsafe should not patch existing target in body: FAIL
    • Setter prependHTMLUnsafe should not patch existing target in head: FAIL
    • Setter prependHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter prependHTMLUnsafe should not patch existing target in body: FAIL
    • Setter beforeHTMLUnsafe should not patch existing target in head: FAIL
    • Setter beforeHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter beforeHTMLUnsafe should not patch existing target in body: FAIL
    • Setter afterHTMLUnsafe should not patch existing target in head: FAIL
    • Setter afterHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter afterHTMLUnsafe should not patch existing target in body: FAIL
    • Setter replaceWithHTMLUnsafe should not patch existing target in head: FAIL
    • Setter replaceWithHTMLUnsafe should patch targets inside the fragment: FAIL
    • Setter replaceWithHTMLUnsafe should not patch existing target in body: FAIL
    • Setter createContextualFragment should patch targets inside the fragment: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-innerHTML-ambiguous.html [wpt.fyi]
    • <template for> in innerHTML patching inner element: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-innerHTML-within.html [wpt.fyi]
    • <template for> in innerHTML patching inner element: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-invokes-pagehide-with-end.html [wpt.fyi]
    • Patching only removes elements that were present when patching is prepared (with <?end>): FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-invokes-pagehide-without-end.html [wpt.fyi]
    • Patching only removes elements that were present when patching is prepared: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-move-cross-document.html [wpt.fyi]
    • Moving the target to another document while appending redirects parser output there: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-move-end-while-appending.html [wpt.fyi]
    • Multiple <template for>: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-move-marker-while-appending.html [wpt.fyi]
    • Multiple <template for>: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-move-start-while-appending.html [wpt.fyi]
    • HTML partial updates - move <?start> while appending has no effect: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-move-while-appending.html [wpt.fyi]
    • Multiple <template for>: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-multiple-cases.html [wpt.fyi]
    • Simple replacement with only start - innerHTML : FAIL
    • Simple replacement with only start - innerHTML with 2 chunks: FAIL
    • Simple replacement with only start - innerHTML with 4 chunks: FAIL
    • Simple replacement with only start - iframe : FAIL
    • Simple replacement with only start - iframe with 2 chunks: FAIL
    • Simple replacement with only start - iframe with 4 chunks: FAIL
    • Simple replacement with only start - template : FAIL
    • Simple replacement with only start - template with 2 chunks: FAIL
    • Simple replacement with only start - template with 4 chunks: FAIL
    • Simple replacement with only start - parse : FAIL
    • Simple replacement with only start - parse with 2 chunks: FAIL
    • Simple replacement with only start - parse with 4 chunks: FAIL
    • Simple replacement with only start - contextualFragment : FAIL
    • Simple replacement with only start - contextualFragment with 2 chunks: FAIL
    • Simple replacement with only start - contextualFragment with 4 chunks: FAIL
    • Simple replacement with only start - stream : FAIL
    • Simple replacement with only start - stream with 2 chunks: FAIL
    • Simple replacement with only start - stream with 4 chunks: FAIL
    • Simple replacement with start and end - innerHTML : FAIL
    • Simple replacement with start and end - innerHTML with 2 chunks: FAIL
    • Simple replacement with start and end - innerHTML with 4 chunks: FAIL
    • Simple replacement with start and end - iframe : FAIL
    • Simple replacement with start and end - iframe with 2 chunks: FAIL
    • Simple replacement with start and end - iframe with 4 chunks: FAIL
    • Simple replacement with start and end - template : FAIL
    • Simple replacement with start and end - template with 2 chunks: FAIL
    • Simple replacement with start and end - template with 4 chunks: FAIL
    • Simple replacement with start and end - parse : FAIL
    • Simple replacement with start and end - parse with 2 chunks: FAIL
    • Simple replacement with start and end - parse with 4 chunks: FAIL
    • Simple replacement with start and end - contextualFragment : FAIL
    • Simple replacement with start and end - contextualFragment with 2 chunks: FAIL
    • Simple replacement with start and end - contextualFragment with 4 chunks: FAIL
    • Simple replacement with start and end - stream : FAIL
    • Simple replacement with start and end - stream with 2 chunks: FAIL
    • Simple replacement with start and end - stream with 4 chunks: FAIL
    • Void marker at start - innerHTML : FAIL
    • Void marker at start - innerHTML with 2 chunks: FAIL
    • Void marker at start - innerHTML with 4 chunks: FAIL
    • Void marker at start - iframe : FAIL
    • Void marker at start - iframe with 2 chunks: FAIL
    • Void marker at start - iframe with 4 chunks: FAIL
    • Void marker at start - template : FAIL
    • Void marker at start - template with 2 chunks: FAIL
    • Void marker at start - template with 4 chunks: FAIL
    • Void marker at start - parse : FAIL
    • Void marker at start - parse with 2 chunks: FAIL
    • Void marker at start - parse with 4 chunks: FAIL
    • Void marker at start - contextualFragment : FAIL
    • Void marker at start - contextualFragment with 2 chunks: FAIL
    • Void marker at start - contextualFragment with 4 chunks: FAIL
    • Void marker at start - stream : FAIL
    • Void marker at start - stream with 2 chunks: FAIL
    • Void marker at start - stream with 4 chunks: FAIL
    • Void marker at end - innerHTML : FAIL
    • Void marker at end - innerHTML with 2 chunks: FAIL
    • Void marker at end - innerHTML with 4 chunks: FAIL
    • Void marker at end - iframe : FAIL
    • Void marker at end - iframe with 2 chunks: FAIL
    • Void marker at end - iframe with 4 chunks: FAIL
    • Void marker at end - template : FAIL
    • Void marker at end - template with 2 chunks: FAIL
    • Void marker at end - template with 4 chunks: FAIL
    • Void marker at end - parse : FAIL
    • Void marker at end - parse with 2 chunks: FAIL
    • Void marker at end - parse with 4 chunks: FAIL
    • Void marker at end - contextualFragment : FAIL
    • Void marker at end - contextualFragment with 2 chunks: FAIL
    • Void marker at end - contextualFragment with 4 chunks: FAIL
    • Void marker at end - stream : FAIL
    • Void marker at end - stream with 2 chunks: FAIL
    • Void marker at end - stream with 4 chunks: FAIL
    • Void marker in the middle - innerHTML : FAIL
    • Void marker in the middle - innerHTML with 2 chunks: FAIL
    • Void marker in the middle - innerHTML with 4 chunks: FAIL
    • Void marker in the middle - iframe : FAIL
    • Void marker in the middle - iframe with 2 chunks: FAIL
    • Void marker in the middle - iframe with 4 chunks: FAIL
    • Void marker in the middle - template : FAIL
    • Void marker in the middle - template with 2 chunks: FAIL
    • Void marker in the middle - template with 4 chunks: FAIL
    • Void marker in the middle - parse : FAIL
    • Void marker in the middle - parse with 2 chunks: FAIL
    • Void marker in the middle - parse with 4 chunks: FAIL
    • Void marker in the middle - contextualFragment : FAIL
    • Void marker in the middle - contextualFragment with 2 chunks: FAIL
    • Void marker in the middle - contextualFragment with 4 chunks: FAIL
    • Void marker in the middle - stream : FAIL
    • Void marker in the middle - stream with 2 chunks: FAIL
    • Void marker in the middle - stream with 4 chunks: FAIL
    • Multiple named markers - innerHTML : FAIL
    • Multiple named markers - innerHTML with 2 chunks: FAIL
    • Multiple named markers - innerHTML with 4 chunks: FAIL
    • Multiple named markers - iframe : FAIL
    • Multiple named markers - iframe with 2 chunks: FAIL
    • Multiple named markers - iframe with 4 chunks: FAIL
    • Multiple named markers - template : FAIL
    • Multiple named markers - template with 2 chunks: FAIL
    • Multiple named markers - template with 4 chunks: FAIL
    • Multiple named markers - parse : FAIL
    • Multiple named markers - parse with 2 chunks: FAIL
    • Multiple named markers - parse with 4 chunks: FAIL
    • Multiple named markers - contextualFragment : FAIL
    • Multiple named markers - contextualFragment with 2 chunks: FAIL
    • Multiple named markers - contextualFragment with 4 chunks: FAIL
    • Multiple named markers - stream : FAIL
    • Multiple named markers - stream with 2 chunks: FAIL
    • Multiple named markers - stream with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - innerHTML : FAIL
    • Multiple named markers with same name only replaces first one - innerHTML with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - innerHTML with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - iframe : FAIL
    • Multiple named markers with same name only replaces first one - iframe with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - iframe with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - template : FAIL
    • Multiple named markers with same name only replaces first one - template with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - template with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - parse : FAIL
    • Multiple named markers with same name only replaces first one - parse with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - parse with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - contextualFragment : FAIL
    • Multiple named markers with same name only replaces first one - contextualFragment with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - contextualFragment with 4 chunks: FAIL
    • Multiple named markers with same name only replaces first one - stream : FAIL
    • Multiple named markers with same name only replaces first one - stream with 2 chunks: FAIL
    • Multiple named markers with same name only replaces first one - stream with 4 chunks: FAIL
    • Multiple templates for same marker - innerHTML : FAIL
    • Multiple templates for same marker - innerHTML with 2 chunks: FAIL
    • Multiple templates for same marker - innerHTML with 4 chunks: FAIL
    • Multiple templates for same marker - iframe : FAIL
    • Multiple templates for same marker - iframe with 2 chunks: FAIL
    • Multiple templates for same marker - iframe with 4 chunks: FAIL
    • Multiple templates for same marker - template : FAIL
    • Multiple templates for same marker - template with 2 chunks: FAIL
    • Multiple templates for same marker - template with 4 chunks: FAIL
    • Multiple templates for same marker - parse : FAIL
    • Multiple templates for same marker - parse with 2 chunks: FAIL
    • Multiple templates for same marker - parse with 4 chunks: FAIL
    • Multiple templates for same marker - contextualFragment : FAIL
    • Multiple templates for same marker - contextualFragment with 2 chunks: FAIL
    • Multiple templates for same marker - contextualFragment with 4 chunks: FAIL
    • Multiple templates for same marker - stream : FAIL
    • Multiple templates for same marker - stream with 2 chunks: FAIL
    • Multiple templates for same marker - stream with 4 chunks: FAIL
    • Nested named markers - replace outer - innerHTML : FAIL
    • Nested named markers - replace outer - innerHTML with 2 chunks: FAIL
    • Nested named markers - replace outer - innerHTML with 4 chunks: FAIL
    • Nested named markers - replace outer - iframe : FAIL
    • Nested named markers - replace outer - iframe with 2 chunks: FAIL
    • Nested named markers - replace outer - iframe with 4 chunks: FAIL
    • Nested named markers - replace outer - template : FAIL
    • Nested named markers - replace outer - template with 2 chunks: FAIL
    • Nested named markers - replace outer - template with 4 chunks: FAIL
    • Nested named markers - replace outer - parse : FAIL
    • Nested named markers - replace outer - parse with 2 chunks: FAIL
    • Nested named markers - replace outer - parse with 4 chunks: FAIL
    • Nested named markers - replace outer - contextualFragment : FAIL
    • Nested named markers - replace outer - contextualFragment with 2 chunks: FAIL
    • Nested named markers - replace outer - contextualFragment with 4 chunks: FAIL
    • Nested named markers - replace outer - stream : FAIL
    • Nested named markers - replace outer - stream with 2 chunks: FAIL
    • Nested named markers - replace outer - stream with 4 chunks: FAIL
    • Nested named markers - replace inner - innerHTML : FAIL
    • Nested named markers - replace inner - innerHTML with 2 chunks: FAIL
    • Nested named markers - replace inner - innerHTML with 4 chunks: FAIL
    • Nested named markers - replace inner - iframe : FAIL
    • Nested named markers - replace inner - iframe with 2 chunks: FAIL
    • Nested named markers - replace inner - iframe with 4 chunks: FAIL
    • Nested named markers - replace inner - template : FAIL
    • Nested named markers - replace inner - template with 2 chunks: FAIL
    • Nested named markers - replace inner - template with 4 chunks: FAIL
    • Nested named markers - replace inner - parse : FAIL
    • Nested named markers - replace inner - parse with 2 chunks: FAIL
    • Nested named markers - replace inner - parse with 4 chunks: FAIL
    • Nested named markers - replace inner - contextualFragment : FAIL
    • Nested named markers - replace inner - contextualFragment with 2 chunks: FAIL
    • Nested named markers - replace inner - contextualFragment with 4 chunks: FAIL
    • Nested named markers - replace inner - stream : FAIL
    • Nested named markers - replace inner - stream with 2 chunks: FAIL
    • Nested named markers - replace inner - stream with 4 chunks: FAIL
    • Interleaved markers (a) - innerHTML : FAIL
    • Interleaved markers (a) - innerHTML with 2 chunks: FAIL
    • Interleaved markers (a) - innerHTML with 4 chunks: FAIL
    • Interleaved markers (a) - iframe : FAIL
    • Interleaved markers (a) - iframe with 2 chunks: FAIL
    • Interleaved markers (a) - iframe with 4 chunks: FAIL
    • Interleaved markers (a) - template : FAIL
    • Interleaved markers (a) - template with 2 chunks: FAIL
    • Interleaved markers (a) - template with 4 chunks: FAIL
    • Interleaved markers (a) - parse : FAIL
    • Interleaved markers (a) - parse with 2 chunks: FAIL
    • Interleaved markers (a) - parse with 4 chunks: FAIL
    • Interleaved markers (a) - contextualFragment : FAIL
    • Interleaved markers (a) - contextualFragment with 2 chunks: FAIL
    • Interleaved markers (a) - contextualFragment with 4 chunks: FAIL
    • Interleaved markers (a) - stream : FAIL
    • Interleaved markers (a) - stream with 2 chunks: FAIL
    • Interleaved markers (a) - stream with 4 chunks: FAIL
    • Interleaved markers (b) - innerHTML : FAIL
    • Interleaved markers (b) - innerHTML with 2 chunks: FAIL
    • Interleaved markers (b) - innerHTML with 4 chunks: FAIL
    • Interleaved markers (b) - iframe : FAIL
    • Interleaved markers (b) - iframe with 2 chunks: FAIL
    • Interleaved markers (b) - iframe with 4 chunks: FAIL
    • Interleaved markers (b) - template : FAIL
    • Interleaved markers (b) - template with 2 chunks: FAIL
    • Interleaved markers (b) - template with 4 chunks: FAIL
    • Interleaved markers (b) - parse : FAIL
    • Interleaved markers (b) - parse with 2 chunks: FAIL
    • Interleaved markers (b) - parse with 4 chunks: FAIL
    • Interleaved markers (b) - contextualFragment : FAIL
    • Interleaved markers (b) - contextualFragment with 2 chunks: FAIL
    • Interleaved markers (b) - contextualFragment with 4 chunks: FAIL
    • Interleaved markers (b) - stream : FAIL
    • Interleaved markers (b) - stream with 2 chunks: FAIL
    • Interleaved markers (b) - stream with 4 chunks: FAIL
    • Hash in marker name - innerHTML : FAIL
    • Hash in marker name - innerHTML with 2 chunks: FAIL
    • Hash in marker name - innerHTML with 4 chunks: FAIL
    • Hash in marker name - iframe : FAIL
    • Hash in marker name - iframe with 2 chunks: FAIL
    • Hash in marker name - iframe with 4 chunks: FAIL
    • Hash in marker name - template : FAIL
    • Hash in marker name - template with 2 chunks: FAIL
    • Hash in marker name - template with 4 chunks: FAIL
    • Hash in marker name - parse : FAIL
    • Hash in marker name - parse with 2 chunks: FAIL
    • Hash in marker name - parse with 4 chunks: FAIL
    • Hash in marker name - contextualFragment : FAIL
    • Hash in marker name - contextualFragment with 2 chunks: FAIL
    • Hash in marker name - contextualFragment with 4 chunks: FAIL
    • Hash in marker name - stream : FAIL
    • Hash in marker name - stream with 2 chunks: FAIL
    • Hash in marker name - stream with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - innerHTML : FAIL
    • Empty marker name with <?start> and <?end> - innerHTML with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - innerHTML with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - iframe : FAIL
    • Empty marker name with <?start> and <?end> - iframe with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - iframe with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - template : FAIL
    • Empty marker name with <?start> and <?end> - template with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - template with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - parse : FAIL
    • Empty marker name with <?start> and <?end> - parse with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - parse with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - contextualFragment : FAIL
    • Empty marker name with <?start> and <?end> - contextualFragment with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - contextualFragment with 4 chunks: FAIL
    • Empty marker name with <?start> and <?end> - stream : FAIL
    • Empty marker name with <?start> and <?end> - stream with 2 chunks: FAIL
    • Empty marker name with <?start> and <?end> - stream with 4 chunks: FAIL
    • Empty marker name with <?marker> - innerHTML : FAIL
    • Empty marker name with <?marker> - innerHTML with 2 chunks: FAIL
    • Empty marker name with <?marker> - innerHTML with 4 chunks: FAIL
    • Empty marker name with <?marker> - iframe : FAIL
    • Empty marker name with <?marker> - iframe with 2 chunks: FAIL
    • Empty marker name with <?marker> - iframe with 4 chunks: FAIL
    • Empty marker name with <?marker> - template : FAIL
    • Empty marker name with <?marker> - template with 2 chunks: FAIL
    • Empty marker name with <?marker> - template with 4 chunks: FAIL
    • Empty marker name with <?marker> - parse : FAIL
    • Empty marker name with <?marker> - parse with 2 chunks: FAIL
    • Empty marker name with <?marker> - parse with 4 chunks: FAIL
    • Empty marker name with <?marker> - contextualFragment : FAIL
    • Empty marker name with <?marker> - contextualFragment with 2 chunks: FAIL
    • Empty marker name with <?marker> - contextualFragment with 4 chunks: FAIL
    • Empty marker name with <?marker> - stream : FAIL
    • Empty marker name with <?marker> - stream with 2 chunks: FAIL
    • Empty marker name with <?marker> - stream with 4 chunks: FAIL
    • Unclosed element in template content with start and end - innerHTML : FAIL
    • Unclosed element in template content with start and end - innerHTML with 2 chunks: FAIL
    • Unclosed element in template content with start and end - innerHTML with 4 chunks: FAIL
    • Unclosed element in template content with start and end - iframe : FAIL
    • Unclosed element in template content with start and end - iframe with 2 chunks: FAIL
    • Unclosed element in template content with start and end - iframe with 4 chunks: FAIL
    • Unclosed element in template content with start and end - template : FAIL
    • Unclosed element in template content with start and end - template with 2 chunks: FAIL
    • Unclosed element in template content with start and end - template with 4 chunks: FAIL
    • Unclosed element in template content with start and end - parse : FAIL
    • Unclosed element in template content with start and end - parse with 2 chunks: FAIL
    • Unclosed element in template content with start and end - parse with 4 chunks: FAIL
    • Unclosed element in template content with start and end - contextualFragment : FAIL
    • Unclosed element in template content with start and end - contextualFragment with 2 chunks: FAIL
    • Unclosed element in template content with start and end - contextualFragment with 4 chunks: FAIL
    • Unclosed element in template content with start and end - stream : FAIL
    • Unclosed element in template content with start and end - stream with 2 chunks: FAIL
    • Unclosed element in template content with start and end - stream with 4 chunks: FAIL
    • Unclosed element in template content with only start - innerHTML : FAIL
    • Unclosed element in template content with only start - innerHTML with 2 chunks: FAIL
    • Unclosed element in template content with only start - innerHTML with 4 chunks: FAIL
    • Unclosed element in template content with only start - iframe : FAIL
    • Unclosed element in template content with only start - iframe with 2 chunks: FAIL
    • Unclosed element in template content with only start - iframe with 4 chunks: FAIL
    • Unclosed element in template content with only start - template : FAIL
    • Unclosed element in template content with only start - template with 2 chunks: FAIL
    • Unclosed element in template content with only start - template with 4 chunks: FAIL
    • Unclosed element in template content with only start - parse : FAIL
    • Unclosed element in template content with only start - parse with 2 chunks: FAIL
    • Unclosed element in template content with only start - parse with 4 chunks: FAIL
    • Unclosed element in template content with only start - contextualFragment : FAIL
    • Unclosed element in template content with only start - contextualFragment with 2 chunks: FAIL
    • Unclosed element in template content with only start - contextualFragment with 4 chunks: FAIL
    • Unclosed element in template content with only start - stream : FAIL
    • Unclosed element in template content with only start - stream with 2 chunks: FAIL
    • Unclosed element in template content with only start - stream with 4 chunks: FAIL
    • Unclosed element in template content with void marker - innerHTML : FAIL
    • Unclosed element in template content with void marker - innerHTML with 2 chunks: FAIL
    • Unclosed element in template content with void marker - innerHTML with 4 chunks: FAIL
    • Unclosed element in template content with void marker - iframe : FAIL
    • Unclosed element in template content with void marker - iframe with 2 chunks: FAIL
    • Unclosed element in template content with void marker - iframe with 4 chunks: FAIL
    • Unclosed element in template content with void marker - template : FAIL
    • Unclosed element in template content with void marker - template with 2 chunks: FAIL
    • Unclosed element in template content with void marker - template with 4 chunks: FAIL
    • Unclosed element in template content with void marker - parse : FAIL
    • Unclosed element in template content with void marker - parse with 2 chunks: FAIL
    • Unclosed element in template content with void marker - parse with 4 chunks: FAIL
    • Unclosed element in template content with void marker - contextualFragment : FAIL
    • Unclosed element in template content with void marker - contextualFragment with 2 chunks: FAIL
    • Unclosed element in template content with void marker - contextualFragment with 4 chunks: FAIL
    • Unclosed element in template content with void marker - stream : FAIL
    • Unclosed element in template content with void marker - stream with 2 chunks: FAIL
    • Unclosed element in template content with void marker - stream with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - innerHTML : FAIL
    • Empty patch with start and end deletes the range - innerHTML with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - innerHTML with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - iframe : FAIL
    • Empty patch with start and end deletes the range - iframe with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - iframe with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - template : FAIL
    • Empty patch with start and end deletes the range - template with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - template with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - parse : FAIL
    • Empty patch with start and end deletes the range - parse with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - parse with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - contextualFragment : FAIL
    • Empty patch with start and end deletes the range - contextualFragment with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - contextualFragment with 4 chunks: FAIL
    • Empty patch with start and end deletes the range - stream : FAIL
    • Empty patch with start and end deletes the range - stream with 2 chunks: FAIL
    • Empty patch with start and end deletes the range - stream with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - innerHTML : FAIL
    • Empty patch with only start deletes to the end of the parent - innerHTML with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - innerHTML with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - iframe : FAIL
    • Empty patch with only start deletes to the end of the parent - iframe with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - iframe with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - template : FAIL
    • Empty patch with only start deletes to the end of the parent - template with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - template with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - parse : FAIL
    • Empty patch with only start deletes to the end of the parent - parse with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - parse with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - contextualFragment : FAIL
    • Empty patch with only start deletes to the end of the parent - contextualFragment with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - contextualFragment with 4 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - stream : FAIL
    • Empty patch with only start deletes to the end of the parent - stream with 2 chunks: FAIL
    • Empty patch with only start deletes to the end of the parent - stream with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - innerHTML : FAIL
    • Empty patch with void marker inserts nothing - innerHTML with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - innerHTML with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - iframe : FAIL
    • Empty patch with void marker inserts nothing - iframe with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - iframe with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - template : FAIL
    • Empty patch with void marker inserts nothing - template with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - template with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - parse : FAIL
    • Empty patch with void marker inserts nothing - parse with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - parse with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - contextualFragment : FAIL
    • Empty patch with void marker inserts nothing - contextualFragment with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - contextualFragment with 4 chunks: FAIL
    • Empty patch with void marker inserts nothing - stream : FAIL
    • Empty patch with void marker inserts nothing - stream with 2 chunks: FAIL
    • Empty patch with void marker inserts nothing - stream with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - innerHTML : FAIL
    • Non-marker processing instruction with matching name is ignored - innerHTML with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - innerHTML with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - iframe : FAIL
    • Non-marker processing instruction with matching name is ignored - iframe with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - iframe with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - template : FAIL
    • Non-marker processing instruction with matching name is ignored - template with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - template with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - parse : FAIL
    • Non-marker processing instruction with matching name is ignored - parse with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - parse with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - contextualFragment : FAIL
    • Non-marker processing instruction with matching name is ignored - contextualFragment with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - contextualFragment with 4 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - stream : FAIL
    • Non-marker processing instruction with matching name is ignored - stream with 2 chunks: FAIL
    • Non-marker processing instruction with matching name is ignored - stream with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - innerHTML : FAIL
    • Stray end processing instruction with matching name is ignored - innerHTML with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - innerHTML with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - iframe : FAIL
    • Stray end processing instruction with matching name is ignored - iframe with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - iframe with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - template : FAIL
    • Stray end processing instruction with matching name is ignored - template with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - template with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - parse : FAIL
    • Stray end processing instruction with matching name is ignored - parse with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - parse with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - contextualFragment : FAIL
    • Stray end processing instruction with matching name is ignored - contextualFragment with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - contextualFragment with 4 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - stream : FAIL
    • Stray end processing instruction with matching name is ignored - stream with 2 chunks: FAIL
    • Stray end processing instruction with matching name is ignored - stream with 4 chunks: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-multiple.html [wpt.fyi]
    • Multiple <template for>: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-mutation-records.html [wpt.fyi]
    • HTML partial updates - mutation records for removal: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-nested-patch.html [wpt.fyi]
    • Nested <template for> patches via the shared target (iframe): FAIL
    • Nested <template for> patches via the shared target (innerHTML): FAIL
    • Nested <template for> patches via the shared target (stream): FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-only-html-001.html [wpt.fyi]
    • HTML partial updates: template with contentmethod does not work in XHTML: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-pagehide-dynamic-markup-insertion.html [wpt.fyi]
    • document.open() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe): FAIL (Safari: FAIL)
    • document.open() in pagehide throws InvalidStateError during prepare content patching (via document.write): FAIL (Safari: FAIL)
    • document.write() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe): FAIL (Safari: FAIL)
    • document.write() in pagehide throws InvalidStateError during prepare content patching (via document.write): FAIL (Safari: FAIL)
    • document.writeln() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe): FAIL (Safari: FAIL)
    • document.writeln() in pagehide throws InvalidStateError during prepare content patching (via document.write): FAIL (Safari: FAIL)
    • document.close() in pagehide throws InvalidStateError during prepare content patching (via streamAppendHTMLUnsafe): FAIL (Safari: FAIL)
    • document.close() in pagehide throws InvalidStateError during prepare content patching (via document.write): FAIL (Safari: FAIL)
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-prepend-element.html [wpt.fyi]
    • <template for> prepend element: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-prepend-text.html [wpt.fyi]
    • <template for> prepend text: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-replace-children-with-element.html [wpt.fyi]
    • <template for> replace children with element: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-replace-children-with-text.html [wpt.fyi]
    • <template for> replace children with text: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-replace.html [wpt.fyi]
    • <template for> replace: FAIL
    • <template for> should work when chunked: FAIL
    • <template for> should work when elements are sliced in the middle: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-sanitization.html [wpt.fyi]
    • <template for> is sanitized away with removeElements when streaming: FAIL
    • <template for> is sanitized away with removeAttributes when streaming: FAIL
    • <template for> is sanitized away with removeElements in a fragment: FAIL
    • <template for> attribute is sanitized away with removeAttributes in a fragment: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-script-children.html [wpt.fyi]
    • HTML partial updates - a script inside a patch should execute: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-script-eval.html [wpt.fyi]
    • HTML partial updates - template for can create a new executable script: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-script-replace.html [wpt.fyi]
    • HTML partial updates - a script replaced with a patch should execute: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-shadow-nested.html [wpt.fyi]
    • <template contentmethod> inside a <template shadowrootmode><div> should apply directly to its target: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-shadow-root.html [wpt.fyi]
    • markers are respected in declarative shadow root: FAIL
    • markers are respected in imperative shadow root with streaming: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-shadow.html [wpt.fyi]
    • <template contentmethod> inside a <template shadowrootmode> should apply directly to its target: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-style-in-head.html [wpt.fyi]
    • HTML partial updates - patch updates style with plain text: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-style.html [wpt.fyi]
    • HTML partial updates - patch updates style with plain text: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-supersedes-invalid-shadowrootmode.html [wpt.fyi]
    • HTML partial updates: invalid shadowrootmode superseded by for: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-title.html [wpt.fyi]
    • HTML partial updates - update title: FAIL
  • /html/semantics/scripting-1/the-template-element/template-for/template-for-unclosed-content.html [wpt.fyi]
    • Unclosed element in <template for> with <?start>/<?end> still removes markers (iframe): FAIL
    • Unclosed element in <template for> with <?marker> still removes markers (iframe): FAIL
    • Unclosed element in <template for> with <?start>/<?end> still removes markers (innerHTML): FAIL
    • Unclosed element in <template for> with <?marker> still removes markers (innerHTML): FAIL
    • Unclosed element in <template for> with <?start>/<?end> still removes markers (template): FAIL
    • Unclosed element in <template for> with <?marker> still removes markers (template): FAIL
    • Unclosed element in <template for> with <?start>/<?end> still removes markers (DOMParser): FAIL
    • Unclosed element in <template for> with <?marker> still removes markers (DOMParser): FAIL
    • Unclosed element in <template for> with <?start>/<?end> still removes markers (stream): FAIL
    • Unclosed element in <template for> with <?marker> still removes markers (stream): FAIL
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
You need to log in before you can comment on or make changes to this bug.