Closed Bug 1813292 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38239 - Allow speculative parser to see inside DSD templates

Categories

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

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Mason Freed <masonf@chromium.org> wrote:

Allow speculative parser to see inside DSD templates

Prior to this CL, the speculative parser would bail out at the sight
of any \<template> element. However, if that template was a DSD
shadow root, like \<template shadowrootmode=open>, it should be
scanned.

Note that DSD shadow roots inside "normal" template elements
should still be skipped, since everything in the \<template>
is inert.

I also updated the speculative parser script to not blow away all
files, but instead just remove the .html files.

Bug: 1379513
Change-Id: I0ee8d64d9c33905f9fb1c5a0f5b4f428858c403a
Fixed: 1410933
Reviewed-on: https://chromium-review.googlesource.com/4200836
WPT-Export-Revision: 6353225ddee203ae0f7cb194ba85a644b182ae9e

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 120 tests and 1 subtests

Status Summary

Firefox

OK : 120
PASS: 103[Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-opt] 104[Gecko-windows10-32-2004-qr-debug] 105[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-2004-qr-debug, GitHub]
FAIL: 15[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-2004-qr-debug, GitHub] 16[Gecko-windows10-32-2004-qr-debug] 17[Gecko-windows10-32-2004-qr-opt, Gecko-windows10-64-2004-qr-opt]

Chrome

OK : 120
PASS: 85
FAIL: 35

Safari

OK : 120
PASS: 75
FAIL: 45

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e13f3915542d [wpt PR 38239] - Allow speculative parser to see inside DSD templates, a=testonly https://hg.mozilla.org/integration/autoland/rev/7eb73286f669 [wpt PR 38239] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.