Phase 4: Webpack Chunk Capture — tolerantProxy silent data loss beheben (x.com, Discord, YouTube) #48
Labels
No labels
bug
docs
feature
housekeeping
html-spec
performance
react-compat
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
glow-all/true-headless-browser#48
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 4: Webpack Chunk Capture — tolerantProxy silent data loss beheben
Problembeschreibung
Webpack-basierte Seiten (x.com, Discord, YouTube) laden via
window.webpackChunk_*.push([chunkId, modules]). Diese Chunks landen im tolerantProxy und werden stumm verworfen — die App bootstrapped nicht.Heutiges Verhalten:
Impact:
Ursache
strictObjectProxy erlaubt keine unbekannten Properties auf Window. Webpack versuchtwindow.webpackChunk_*zu setzen → fängt strictObject ab → returned tolerantProxy →.push()auf tolerantProxy macht nichts.Lösungsansatz: Property Setter für webpack Chunks
Oder einfacher: chunk-Erkennung in tolerantProxy
_executeChunk — Chunk-Code im ExecutionRealm ausführen
Akzeptanzkriterien
__OVERLAY__error)Betroffene Dateien
src/js/dynamic-scripts.ts— Neue _executeChunk() Methodesrc/interaction/strict-object.ts— webpack-Chunk-Erkennung im Proxysrc/js/execution-realm.ts— Optional: execute als Callback exposeCross-Referenzen