continuedev / continuedev/continue

code-server rendering in Firefox desktop

Open
#11,932 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

kind:bug stale
Dominant language
TypeScript
Stars
36k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Before submitting your bug report
Relevant environment info
- OS: macOS
- Continue version: v1.3.37 & v1.2.21
- IDE version: code-server v4.112.0
Description

The Continue window does not seem to be rendering correctly in code-server via desktop Firefox. This was tested in both the current release and pre-release versions. I confirmed that it is rendering correctly in Safari and in Firefox for iOS/iPad OS - it just seems to be isolated to the desktop version. For further isolation, this was still happening in a private browsing window with all Firefox extensions and all code-server extensions (except Continue) disabled.

Image

I've included the browser console logs below after a fresh refresh and opening of the Continue window. Let me know if any more specific logs would be useful.

To reproduce
  1. Open Continue window in code-server on desktop Firefox
Log output
GET
https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/node_modules/vsda/rust/web/vsda.js
[HTTP/1.1 404 Not Found 60ms]

XHR
GET
https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/node_modules/vsda/rust/web/vsda_bg.wasm
[HTTP/1.1 404 Not Found 43ms]

Loading failed for the <script> with source “https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/node_modules/vsda/rust/web/vsda.js”. code.cyan.fish:1:1
 INFO [reconnection-grace-time] Client received grace time from server: 10800000ms (10800s) log.ts:440:13
The web worker extension host is started in a same-origin iframe! webWorkerExtensionHost.ts:121:12
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:148:10
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:148:10
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:148:10
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:148:10
Feature Policy: Skipping unsupported feature name “local-network-access”. webWorkerExtensionHost.ts:148:10
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:153:10
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:153:10
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:153:10
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:153:10
Feature Policy: Skipping unsupported feature name “local-network-access”. webWorkerExtensionHost.ts:153:10
Feature Policy: Skipping unsupported feature name “usb”. webWorkerExtensionHost.ts:218:37
Feature Policy: Skipping unsupported feature name “serial”. webWorkerExtensionHost.ts:218:37
Feature Policy: Skipping unsupported feature name “hid”. webWorkerExtensionHost.ts:218:37
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webWorkerExtensionHost.ts:218:37
Feature Policy: Skipping unsupported feature name “local-network-access”. webWorkerExtensionHost.ts:218:37
 INFO Creating a socket (renderer-ExtensionHost-dd9cd577-7c5b-4850-8142-1c11c6af9b3e)... log.ts:440:13
 INFO [Service Worker] registered log.ts:440:13
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. code.cyan.fish
The character encoding of a framed document was not declared. The document may appear different if viewed without the document framing it. webWorkerExtensionHostIframe.html
 INFO Creating a socket (renderer-ExtensionHost-dd9cd577-7c5b-4850-8142-1c11c6af9b3e) was successful after 275 ms. log.ts:440:13
 INFO [Continue.continue]: Command `continue.focusContinueInput` already registered by Continue - open-source AI code agent (Continue.continue) log.ts:440:13
 INFO Updating additional builtin extensions cache log.ts:440:13
 WARN Authentication provider continue was not declared in the Extension Manifest. log.ts:450:13
  ERR [Extension Host] Failed to register Continue config.yaml schema, most likely, YAML extension is not installed 
R4t@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:8:153
u3i@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3284
z@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:6793
F@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:9255
o@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3874
writeConfiguration/<@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3774
j@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:30:76192
queue/<@https://code.cyan.fish/stable-13ca0e4731050…
log.ts:460:13
[Extension Host] Failed to register Continue config.yaml schema, most likely, YAML extension is not installed 
R4t@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:8:153
u3i@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3284
z@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:6793
F@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:9255
o@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3874
writeConfiguration/<@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:4589:3774
j@https://code.cyan.fish/stable-13ca0e47310505f4ab1ac59e891e9a3c5e5eec04/static/out/vs/code/browser/workbench/workbench.js:30:76192
queue/<@https://code.cyan.fish/stable-13ca0e4731050…
console.ts:139:35
[Extension Host] Next Edit Theme initialized: Theme exists: "Default Dark Modern" 2 console.ts:139:35
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webviewElement.ts:411:11
Feature Policy: Skipping unsupported feature name “autoplay”. webviewElement.ts:411:11
Feature Policy: Skipping unsupported feature name “local-network-access”. webviewElement.ts:411:11
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webviewElement.ts:491:11
Feature Policy: Skipping unsupported feature name “autoplay”. webviewElement.ts:491:11
Feature Policy: Skipping unsupported feature name “local-network-access”. webviewElement.ts:491:11
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. webviewElement.ts:455:17
Feature Policy: Skipping unsupported feature name “autoplay”. webviewElement.ts:455:17
Feature Policy: Skipping unsupported feature name “local-network-access”. webviewElement.ts:455:17
An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can remove its sandboxing. code.cyan.fish
Layout was forced before the page was fully loaded. If stylesheets are not yet loaded this may cause a flash of unstyled content. index.html
Loading failed for the <script> with source “https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516”. index.html:1371:495
Content-Security-Policy: The page’s settings blocked a script (script-src-elem) at https://static.cloudflareinsights.com/beacon.min.js/v8c78df7c7c0f484497ecbca7046644da1771523124516 from being executed because it violates the following directive: “script-src 'sha256-nQZh+9dHKZP2cHbhYlCbWDtqxxJtGjRGBx57zNP2DZM=' 'self'” index.html
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. index.html:1066:14
Feature Policy: Skipping unsupported feature name “autoplay”. index.html:1066:14
Feature Policy: Skipping unsupported feature name “local-network-access”. index.html:1066:14
Feature Policy: Skipping unsupported feature name “cross-origin-isolated”. index.html:1075:49

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the Continue window in code-server v4.112.0 on desktop Firefox, using the reported macOS setup and a private browsing window. Start with the browser console logs, especially the 404s for vsda.js and vsda_bg.wasm, and compare the result with Safari or Firefox on iOS/iPadOS. Done means the Continue window renders correctly in desktop Firefox without the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.