Open
Bug 1585837
Opened 5 years ago
Updated 2 years ago
Simplify parseXULToFragment to not worry about creating a JS reference to DOM nodes
Categories
(Toolkit :: UI Widgets, task, P5)
Toolkit
UI Widgets
Tracking
()
NEW
People
(Reporter: bgrins, Unassigned)
References
(Blocks 1 open bug)
Details
We jump through some hoops in https://searchfox.org/mozilla-central/rev/35cc00a25c4471993fdaa5761952bd3afd4f1731/toolkit/content/customElements.js#462-531 to avoid accidentally constructing XBL.
The code comment there explains it, but see also https://bugzilla.mozilla.org/show_bug.cgi?id=1459556#c36 and https://bugzilla.mozilla.org/show_bug.cgi?id=1459556#c23.
We can probably drop the whitespace stripping at this point too since we've updated most callers to use whitespace-aware APIs (though this could be done separately).
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•