github / github/copilot-cli

Browser canvas WebView closes when loading a JavaScript-heavy localhost page

Aperta
#4,776 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

triage
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

Description

The browser canvas becomes stuck on its loading UI when opening an authenticated, JavaScript-heavy application hosted on localhost. The target page works correctly in a regular browser such as Chrome.

Environment

  • Copilot App version: 1.0.83-5
  • OS: macOS
  • Target: http://localhost:3001/...
  • Application: local React web application

Steps to reproduce

  1. Open a localhost application login page in the Copilot browser canvas.
  2. Sign in successfully.
  3. Navigate to a specific page using a query parameter.
  4. Wait for the page to initialize.

Expected behavior

The authenticated page loads in the browser canvas as it does in Chrome.

Actual behavior

The browser canvas remains on its loading UI. Browser canvas diagnostics initially show that login succeeds, but when the target page begins loading, the WebView is closed or becomes unavailable. Subsequent browser tool calls return:

Browser page load waiter closed.
webview not found

A second browser canvas could load the login page, but browser interactions later began timing out:

Browser tool request timed out.

The localhost server remains reachable, and the same page continues to work in a regular browser.

Additional notes

The target application loads a large React bundle. This may be related to WebView compatibility, renderer-process termination, or browser canvas resource limits. No credentials, product names, versions, or private page paths are included in this report.

Guida per i contributori

Apri la 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.

Direzione di ricerca

Inizia riproducendo l’applicazione React autenticata di localhost nel canvas del browser e controllandone la diagnostica quando la pagina di destinazione inizia a caricarsi. Confronta lo stato del WebView con quello del browser normale e verifica che il canvas rimanga disponibile, che la pagina termini il caricamento e che le chiamate successive agli strumenti del browser non segnalino “webview not found” né vadano in timeout.

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

Valutazione

Stack tecnologico
javascript, react
Ambito
desktop, frontend, web-dev
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.