Open Bug 1990759 Opened 1 year ago Updated 2 months ago

Investigate deprecation and removal of XSLT (deprecate and remove XSLT)

Categories

(Core :: XSLT, task)

task

Tracking

()

People

(Reporter: zcorpan, Unassigned)

References

(Depends on 4 open bugs)

Details

(Keywords: dev-doc-needed, sec-want)

Keywords: sec-want
Summary: Investigate deprecation and removal of XSLT → Investigate deprecation and removal of XSLT (deprecate and remove XSLT)
Depends on: 1993933

Chromium Intent to deprecate and remove was approved: https://groups.google.com/a/chromium.org/g/blink-dev/c/CxL4gYZeSJA/m/yNs4EsD5AQAJ

Their current plan is:

  • M142 (Oct 28, 2025): Early warning console messages added to Chrome.
  • M143 (Dec 2, 2025): Official deprecation of the API - deprecation warning messages begin to show in the console and in lighthouse.
  • M148 (March 10, 2026 Canary): Canary, Dev, and Beta releases begin disabling XSLT by default, as an early-warning.
  • M152 (Aug 25, 2026): Origin Trial and Enterprise Policy go live for testing. These allow sites and enterprises to continue using features past the removal date.
  • M155 (Nov 17, 2026): XSLT stops functioning on Stable releases, for all users other than Origin Trial and Enterprise Policy participants.
  • M164 (Aug 17, 2027): Origin Trial and Enterprise Policy stop functioning. XSLT is disabled for all users.
Depends on: 1998002

Is there a way for the community to express their opinion on this and would it be listened to?

The community has already shared extensive feedback in the spec issue, related PRs, new spec issues, the standards position issue, Reddit discussions, and elsewhere. We’ve taken these perspectives into account, along with factors such as web compatibility, user security, and the opportunity cost of different options.

If you have new, relevant information that hasn’t been raised in those places, please feel free to share it here, or in one of the open or a new spec issue, if it applies more broadly across browsers. Thanks!

Blocks: 1747547
Depends on: 2028408
Depends on: 2030014
Depends on: 2030670
No longer depends on: 2030014
Depends on: 2066469
Depends on: 2066712

I am experimenting with Firefox polyfill extension to determine whether the XSLT-based tools and webpages from my GitHub project will continue to work when XSLT is disabled.

After loading the extension I went to about:config and searched on XSLT. There were two entries: XSLT and XSLT dom.

I disabled XSLT (keeping XSLT dom enabled) and my XSLT-based tools appear to run, I had no indication that the XSLT Polyfill extension was being executed. (in contrast, the XSLT Polyfill extension on Chrome displays a message in the browser window when it is enabled.

When I disabled XSLT Dom, the operation changed. The following message displayed in the browser window. "This document cannot be formatted as intended. It uses XSLT, which the browser does not support. You might be able to install a browser extension that allows you to view it." After about a five second delay the page with XSLT content rendered.

My questions:

  • do both XSLT and XSLT dom need to be disabled to test the extension?
  • why does the error message appear when I have the required extension installed and activated?
  • what is being done for continued XSLT support on Firefox for iPhone?

(In reply to Jim Whitmore from comment #6)

  • what is being done for continued XSLT support on Firefox for iPhone?

Firefox for iOS uses WebKit, so it won't be affected by this change. I believe that any deprecation for XSLT will come from Apple not Mozilla. I'm not sure if anything has been announced there.

FYI, my pages and tools are located at https://jjwhitmore.github.io/SE-workbench/

The Data Table Tools are basic. The Explorer tools are more complex. Both set of tools are based on XSLT.

Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.