[Bug]: Preview tabs sometimes log "sandboxed_renderer.bundle.js script failed to run" (Electron #54149, fixed in 44.4.4)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Idoneità per principianti
- 90/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- electron, typescript
- Ambito
- desktop
Direzione di ricerca
Inizia in apps/desktop/package.json, dove l’issue segnala Electron 44.4.2. Controlla le informazioni sulla release upstream di Electron citate nell’issue, aggiorna la dipendenza a una patch corretta della versione 44.x e ripeti preview_open seguito da preview_snapshot per confermare che le voci spurie sandboxed_renderer.bundle.js non compaiano più.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
- Open a new preview tab on any page, for example
https://example.com, through preview automation (preview_open). - Read the console with
preview_snapshot. - Repeat with new tabs; the errors appear on some of them.
Expected behavior
consoleEntries holds only the page's own messages.
Actual behavior
Some new tabs log the two errors below, and preview_snapshot returns them in consoleEntries. The page itself loads and works. For agents this is noise: an agent checking a page reads consoleEntries and has to work out that these errors are not the page's, which is misleading when the task is to find console errors.
Cause and fix
The errors come from Electron, not from the page: electron/electron#54149. When a DevTools protocol client attaches to a sandboxed frame before its first navigation finishes, the sandbox bundle runs on the initial empty document, which has no startupData. Preview automation is such a client, so the race depends on timing.
Fixed upstream in electron/electron#54155 and released in v44.4.4 ("Fixed a spurious sandboxed_renderer.bundle.js script failed to run console error when DevTools attached to a sandboxed frame before its first navigation"); backports are in v43.7.4 and v42.11.7. Bumping Electron to 44.4.5, the latest 44.x patch, should remove the errors.
Impact
Cosmetic issue
Version or commit
main @ de251fc (electron: 44.4.2 in apps/desktop/package.json); installed 0.0.43-nightly.20260926.2282
Environment
Desktop app on Linux (NixOS, Wayland, niri), Electron 44.4.2
Logs or stack traces
Electron sandboxed_renderer.bundle.js script failed to run
TypeError: Cannot destructure property 'preloadScripts' of 'binding.startupData' as it is null.
at node:electron/js2c/sandbox_bundle:2:124925
at ___electron_webpack_init__ (node:electron/js2c/sandbox_bundle:2:125864)
Screenshots, recordings, or supporting files
No response
Workaround
Ignore these two console entries.
- Lingua principale
- TypeScript
- Stelle
- 23.6k
- Fork
- 6.1k
- Merge medio
- 9h 26m
- PR unite (30g)
- 340
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pingdotgg/t3code
-
[Bug] Claude provider reported as "authenticated" when not logged in (hides the Sign in flow)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pingdotgg/t3code#14160 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug via-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pingdotgg/t3code#14067 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
pingdotgg/t3code#14066 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pingdotgg/t3code
Issue simili
-
Mend: dependency security vulnerability untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
opensearch-project/security-dashboards-plugin#2545 ·
I maintainer di solito rispondono entro 1 giorno
-
Add: Dream TR SDApertacheck:passed streams:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
doctor integrity sample scans soft-deleted pages on Postgres (batch path has no deleted_at filter)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
SocialGouv/egapro#4672 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
area:agents area:tui bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
anthropics/claude-code#98358 ·
I maintainer di solito rispondono entro 1 giorno