Skip to content

Agent XSLT not supported in near future. #620

Description

@skibum1869

We've been getting notifications that the XSLT display will be removed in the near future, so I wanted to make sure it is noted for replacement.

This site uses XSLT; that functionality is being removed from this browser very soon. When that happens, this page will likely no longer display correctly. You might be able to install a browser extension that allows you to continue viewing it. Otherwise, you should contact the maintainer of the site for further information.

Image

Activity

  1. wsobel commented on Sep 30, 2026

    @wsobel
    Member
  2. skibum1869 commented on Oct 3, 2026

    @skibum1869
    CollaboratorAuthor

    Brave which runs the chromium backend. Safari does not list the error.

    Chrome is officially removing native client-side XSLT support, with the feature scheduled to be disabled by default on Stable releases on November 17, 2026 (targeting Chrome 158)
    https://developer.chrome.com/docs/web-platform/deprecating-xslt

  3. wsobel commented on Oct 3, 2026

    @wsobel
    Member
  4. wsobel commented on Oct 3, 2026

    @wsobel
    Member
  5. skibum1869 commented on Oct 4, 2026

    @skibum1869
    CollaboratorAuthor

    Does chromium give the error as well or only brave? I’ll be back home on Monday and begin testing myself. Thx

    yes it does, or at least Chrome on the Mac does.

  6. wsobel commented on Oct 4, 2026

    @wsobel
    Member
  7. wsobel commented on Oct 4, 2026

    @wsobel
    Member
  8. skibum1869 commented on Oct 4, 2026

    @skibum1869
    CollaboratorAuthor

    I put together a proposal for this as a draft PR: #621

    In short:

    • An opt-in BrowserView { Location = /styles/viewer.html } config entry. When a browser requests /probe, /current, /sample or /assets (its Accept header lists text/html first), the Agent returns a small static page. Clients that send */*, an XML type or a JSON type, and any request with ?format=, get exactly what they get today.
    • The page is JavaScript served from the existing styles/ folder. It re-requests the same URL with an explicit Accept header and renders the same Probe, Current, Sample, Assets and Error grids as styles.xsl. XML is the default and JSON (JsonVersion 1 and 2) can be selected, so the Agent stays a read-only source and the viewer only sends GET requests. No new native dependency is needed.
    • An optional StyleType entry sets the type of the xml-stylesheet processing instruction (default text/xsl). The XSL files are unchanged and still work for browsers that support XSLT.

    I built it from the Ubuntu Dockerfile and checked the views in a browser against the demo devices, in both XML and JSON. The PR description lists what has not been done: the repository's unit tests were not run and I added no C++ tests, JSON v1 was only checked against the printer source, and there are a few hardening follow-ups.

    I'd like feedback on the approach before polishing it, in particular whether serving a page based on Accept behind a config opt-in is the right shape, and whether BrowserView is a good name.

  9. wsobel commented on Oct 4, 2026

    @wsobel
    Member

    Thanks a lot. I'll check it out tomorrow and integrate it into the tests and workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions