Open Bug 1585837 Opened 6 months ago Updated 5 months ago

Simplify parseXULToFragment to not worry about creating a JS reference to DOM nodes

Categories

(Toolkit :: XUL Widgets, task, P5)

task

Tracking

()

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).

See Also: → 1513285
See Also: → 1590573
You need to log in before you can comment on or make changes to this bug.