Skip to content

feat(webview): bounded origin-scoped page bootstrap without native IPC #195

Closed

Description

@zackees

Refs #155, #193. Coordinated with FastLED/cli#242. FastLED currently uses three Tauri initialization scripts for test-token extraction, log forwarding, and WebGL test capture setup. The isolated kernel route deliberately has no scripts or IPC; preserve that default. Add an explicit native-host opt-in for bounded caller-owned page bootstrap, document-start/main-frame execution including same-origin reload, native navigation restricted to the original HTTP(S) origin, and no native bridge. Script runs with ordinary page authority; caller is responsible for source correctness and product payloads. No new runtime, backend crate reexports, or script capability in generated guest ABI.

Validate source bounds before copying/native effects. Linux must install caller bootstrap after removing backend-injected IPC/scripts and before first navigation; Windows/macOS use the private engine document-start route. Add RED/GREEN bounds and origin policy tests, native proof of before-page ordering and reload with IPC absent, and cross-origin rejection. Keep FastLED endpoints/token/capture policy downstream. Native supported-platform checks and exact release consumption remain required before GUI adoption is complete.

Activity

  1. zackees commented on Sep 13, 2026

    @zackees
    CollaboratorAuthor

    Bootstrap capability landed via #197 at f65c8ee after all 49 checks passed or skipped. The failed macOS setup catalog attempt passed on retry without weakening verification. First-party migration and published-release acceptance remain tracked in FastLED/cli#242.

  2. zackees commented on Sep 16, 2026

    @zackees
    CollaboratorAuthor

    Complete and adopted; closing with the evidence rather than leaving it open.

    kernal-api — landed in #197, with tests/webview_page_bootstrap.rs. Verified present on main rather than inferred from the commit message alone.

    FastLED — the FastLED viewer lane this issue names.

    🤖 Generated with Claude Code

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