Skip to content

Let a Dor Tool render in a native webview (render: webview) #1938

Backlog

Description

@nedtwigg

A Tool's page shows in a proxied iframe or a screencast today. #1924 lets a Tool declared in dormouse.yml set render: webview, which shows its page in the standalone app's native webview at its real origin, falling back to the iframe elsewhere. It is built and passes CI. We are not merging it yet.

Why we stopped

  • No Tool needs it yet.
  • It gives up isolation the iframe proxy provides: webview Tools would share cookies, and a service worker one Tool leaves could control a later Tool on the same port.
  • It widens security rule S158.
  • Under a webview a Tool gets no Dormouse theme and no unsaved-changes prompt on an in-page reload, and the built-in Tools cannot use it.
  • It has not been run in the standalone app.

What would restart it

A Tool that cannot work in the iframe: one that needs cookies, a service worker, or a page that refuses to be framed. If you have one, comment with what the Tool is and what breaks.

The work is on the branch tool-render-webview.

Activity

  1. added
    enhancement
    on Nov 30, 2026
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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions