Interoperability and Compatibility
Removal of this feature constitutes a compat risk, since sites that use XSLT will stop working when the feature is removed. Mitigations include a very long deprecation window, a polyfill, lots of outreach, and both origin trials and enterprise policies to allow sites even more time to migrate. The polyfill (
https://github.com/mfreed7/xslt_polyfill) is specifically built to mimic the existing behavior of Chrome as closely as possible. In most cases, it is a single-line drop-in fix for a lack of XSLT in the browser. According to my analysis, about 75% of sites that hit the use counter don't appear to be visibly broken. Of the 25% that do appear broken in some way (e.g. some components not rendering, or raw XML output instead of transformed HTML), 82% have their functionality restored by the addition of the polyfill. Of the 18% that can't use the polyfill, the primary reason seems to be CORS restrictions, as detailed in the polyfill documentation. And even if site owners take no action, individual users can install the browser extension(
https://github.com/mfreed7/xslt_extension), which uses the polyfill, to get back full functionality.
Gecko: Positive (
https://github.com/whatwg/html/issues/11523#issuecomment-3149788558)
WebKit: Positive (
https://github.com/whatwg/html/issues/11523#issuecomment-3149280766)
Web developers: Negative (
https://github.com/whatwg/html/issues/11523#issuecomment-3150969971) Existing users of XSLT are understandably negative on this removal, and have been very vocal about it on the standards issue and elsewhere. There are also mixed/positive reactions from some folks in the public discussions, who seem to agree with the removal of XSLT from browsers. But the average/overall developer opinion (as measured by comments on public threads) is negative. Various public discussions: -
https://news.ycombinator.com/item?id=44952185 -
https://www.reddit.com/r/programming/comments/1mxdm22/xslt_removal_will_break_multiple_government_and/ -
https://news.ycombinator.com/item?id=44987346 -
https://news.ycombinator.com/item?id=44987552 -
https://news.ycombinator.com/item?id=44987239 -
https://news.ycombinator.com/item?id=44909599Other signals:
Activation
See above - the polyfill and extension will ease the migration burden.
Security
This removal constitutes a big win for security, in that it removes a highly-vulnerable external library from Chromium.
WebView application risks
Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?
In the same way that this poses a compat risk on the open web, it poses a risk for WebView applications.