Browser canvas WebView closes when loading a JavaScript-heavy localhost page
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
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
- Open a localhost application login page in the Copilot browser canvas.
- Sign in successfully.
- Navigate to a specific page using a query parameter.
- 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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在浏览器画布中复现经过身份验证的 localhost React 应用,并在目标页面开始加载时检查其诊断信息。将 WebView 状态与常规浏览器进行比较,并验证画布仍然可用、页面完成加载,以及后续的浏览器工具调用不会报告“webview not found”或超时。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, react
- 领域
- desktop, frontend, web-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100