Closed Bug 2079856 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 63372 - Allowing declarative shadow roots should be scoped to the stream parser

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox160 fixed)

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Attachments

(1 file)

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

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

Noam Rosenthal <nrosenthal@chromium.org> wrote:

Allowing declarative shadow roots should be scoped to the stream parser

Instead of calling Document::setAllowDeclarativeShadowRoots(true) on the
target document in HTMLStream::Create (which leaked declarative shadow
root allowance to subsequent innerHTML and document.write() calls),
enable include_shadow_roots on HTMLDocumentParser when
root_insertion_point is non-null.

Bug: 491743369
Change-Id: Ie7f034c85ffe24978d276a3878543b55c44d1757
Reviewed-on: https://chromium-review.googlesource.com/8498304
WPT-Export-Revision: 22e945ab8fc291a5a4353b5686cf13d2dac7ed00

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Attached file Notable wpt changes —

CI Results

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

Total 36 tests

Status Summary

Firefox

OK : 1[GitHub] 35[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: 1[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 65[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]
FAIL: 37[GitHub] 1594[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

OK : 1
PASS: 36
FAIL: 1

Safari

OK : 1
FAIL: 37

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

(See attachment for full changes)

Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

Authored by https://github.com/noamr
https://github.com/mozilla/enterprise-firefox/commit/c2f6b9b9aa4c0aaa4a30b7f497ba625382b0dab5
[enterprise-main] Bug 2079856 [wpt PR 63372] - Allowing declarative shadow roots should be scoped to the stream parser, a=testonly

Authored by https://github.com/moz-wptsync-bot
https://github.com/mozilla/enterprise-firefox/commit/2f28f8eea80719c41255807c78c77b4c41a12381
[enterprise-main] Bug 2079856 [wpt PR 63372] - Update wpt metadata, a=testonly

(via GitHub webhook, authenticated as shared-secret)

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: