Summary:
As has been described through other channels, XSLT is a rarely-used feature with a track record of being the source of many security issues. Most of its features have been directly superseded by other web platform functionality, and it’s lingering at a sub 0.1% use count. There are of course risks with removing a web feature but the arguments that the benefits outweigh the risk is exceptionally strong. For web developers, an option to mitigate breakage can be to use a polyfill[1], and for users an extension[2].
Removal would follow the conservative approach of:
Offer an Enterprise Policy and a pref to disable XSLT support. (Already done.)
Disable in Nightly as soon as possible.
Disable in all channels in August 2027. This is when Chromium plans to remove their deprecation trial and enterprise policy (so that XSLT is disabled for all users).
After that, entirely purge the code base of XSLT and corresponding tests.
Bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1990759
Specification:
https://www.w3.org/TR/xslt-10/
Standards Body:
W3C
Platform Coverage:
Initially this will ship to Nightly in https://bugzilla.mozilla.org/show_bug.cgi?id=2028408, for all platforms. Deprecation for all channels through https://bugzilla.mozilla.org/show_bug.cgi?id=2066712, and removal https://bugzilla.mozilla.org/show_bug.cgi?id=1990759.
Preference:
Deprecation is done through the pref “dom.xslt.enabled”
DevTools Bug:
None.
Extensions Bug:
None
Use Counter:
use.counter.page.xsltprocessor_constructor
Standards-Positions Discussion:
https://github.com/mozilla/standards-positions/issues/1287
Other Browsers:
web-platform-tests:
https://wpt.fyi/results/xml/xslt
[1] https://github.com/mfreed7/xslt_polyfill
[2] https://addons.mozilla.org/firefox/search/?q=xslt+polyfill
--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CACvK8H%2BwWOyW%2BsKK1RbEgaL4r%2BnQqnW6ib9fFiRNTg%2BS3jy7cQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "dev-pl...@mozilla.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dev-platform...@mozilla.org.
To view this discussion visit https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAPdF9uPO537cJ%3D7HFW8A4GtR9rL%2BaSP-EQVfhyTVn%3D-knZWOOw%40mail.gmail.com.
Are we running an origin trial?Chrome's current disablement has presumably helped them build a list of origins currently broken with XSLT disabled. If we disable on Nightly, all of those sites will be broken and we'll have to discover them ourselves. If we can't get the list of sites that Chrome has left XSLT enabled, disabling it on Nightly has a clear webcompat cost and offers limited advantage.
So my suggestion is:1. Copy the list of origins that Chrome has XSLT enabled and leave it enabled for those origins on Nightly
or2. Don't disable on Nightly until Chrome's origin trial has ended (Aug 30, 2027)