TSX: Packages isolated on the web

Aperta
#1,522 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go, javascript, typescript
Ambito
api, security, web-dev

Direzione di ricerca

Start at docs/roadmap.md's 'TSX and dynamic delivery' section (around line 521) and parent issue #1321. Find the existing tsx.View and tsx.Load implementations and the capability checks goja relies on today, plus the Sandbox.WebUnisolated flag. The design gap is the async bridge to the Go-backed APIs and how an opaque-origin iframe or worker is granted capabilities; done means such a package runs isolated on the web and is refused otherwise.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Context

Part of #1321. The roadmap's TSX and dynamic delivery section lists this item (line 521 of docs/roadmap.md at f7fc2f5c) with no issue.

Reference: —

Acceptance
  • tsx.View and tsx.Load run a package with capabilities on the web in an opaque-origin frame or worker, reaching the runtime's Go-backed APIs over an asynchronous bridge, so its code cannot reach the page's XMLHttpRequest, WebSocket, clipboard, localStorage or window and its capabilities hold as on goja; until then such a package is refused there unless Sandbox.WebUnisolated gives it the page's authority, and the page's engine cannot interrupt a running JS slice

For: 开发@柚子

Lingua principale
Go
Stelle
684
Fork
41
Merge medio
8h 8m
PR unite (30g)
911

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nsgo-dev/nsgo

Tutte le issue di nsgo-dev/nsgo

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.