github / github/copilot-cli

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

Đang mở
#4,776 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện ứng dụng React localhost đã xác thực trong canvas của trình duyệt và xem xét thông tin chẩn đoán của ứng dụng khi trang đích bắt đầu tải. So sánh trạng thái WebView với trình duyệt thông thường và xác minh rằng canvas vẫn khả dụng, trang tải xong, đồng thời các lệnh gọi công cụ trình duyệt tiếp theo không báo cáo “webview not found” hoặc hết thời gian chờ.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
javascript, react
Lĩnh vực
desktop, frontend, web-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.