by zcorpan · 2w ago · 0 comments
Further, the polyfill has limitations, some unfixable or not worth the complexity. For example, it can't trigger quirks mode in XML, or perfectly emulate all quirks.
The polyfill is a stop-gap meant to ease the transition. It's not proof that browsers can keep supporting XSLT with perfect compatibility and get rid of all security concerns.
Fair enough, but this is no worse than JavaScript, since you have always been able to use "document.write", "element.innerHTML", "eval", and similar there. This is definitely a bit of a security concern, but of a completely different class than an RCE exploit caused by a buffer overflow.
> Further, the polyfill has limitations, some unfixable or not worth the complexity. For example, it can't trigger quirks mode in XML, or perfectly emulate all quirks.
I'd argue that you shouldn't let perfect be the enemy of good here, and that imperfect support is better than removing XSLT entirely. But even though I disagree here, I understand that you have resource constraints, so I totally get where you're coming from.
I wish that this was the main argument presented rather than the minimal usage or security vulnerability arguments, since impossibility and resource constraints seem like better justifications to me.
(And also, thanks for all your work on Firefox, and sorry for the hostility that you're getting for this decision from others)