Closed
Bug 1657989
Opened 4 years ago
Closed 4 years ago
Expose the set of ShadowRoots for a document to chrome-privileged JavaScript
Categories
(Core :: DOM: Core & HTML, enhancement, P2)
Tracking
()
RESOLVED
FIXED
81 Branch
Tracking | Status | |
---|---|---|
firefox81 | --- | fixed |
People
(Reporter: bdanforth, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The Password Manager currently does not detect login forms when HTMLInputElement
s are in ShadowRoot
s, and we have an effort underway to fix that (Bug 1629226) for Q3 2020 and probably beyond.
After talking with Emilio, I learned that there is a set of ShadowRoot
s for a document that could be exposed to chrome-privileged JavaScript. This would greatly simplify our efforts as well as provide much better performance, as the alternative is to walk the DOM and find each ShadowRoot
ourselves.
My understanding is that the patch would be relatively straightforward.
Flags: needinfo?(emilio)
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → emilio
Flags: needinfo?(emilio)
Assignee | ||
Comment 1•4 years ago
|
||
Seems it's going to be useful for autofill / password-manager.
Updated•4 years ago
|
Severity: -- → N/A
Priority: -- → P2
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd1155a994a2 Expose Document::mComposedShadowRoots to front-end code. r=smaug
Comment 3•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•