Closed Bug 1856674 Opened 2 years ago Closed 1 year ago

nsContentUtils::GenerateStateKey doesn't deal with shadow DOM.

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

VERIFIED FIXED
139 Branch
Tracking Status
firefox139 --- verified

People

(Reporter: emilio, Assigned: emilio)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

This code doesn't account for shadow DOM which means different elements within different shadow trees can end up using the same key.

Blocks: 1856571
Severity: -- → S3
See Also: → 1943305
Blocks: 1955693
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ef8d852a6e08 Make GenerateStateKey deal with shadow DOM. r=smaug
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51893 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Duplicate of this bug: 1955693
Duplicate of this bug: 1957642

Verified that Bug 1955693 and Bug 1957642 are fixed on Firefox 139.0a1 (2025-04-09).

Status: RESOLVED → VERIFIED
See Also: → 1964264
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: