Editor blocks (M27) are blank when the app and block sites are different sites #69
Loading…
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?
Found on geek with 0.6.0. The app is https://geek..ts.net and block sites are https://b-N.illogical.widgets.wtf:7443, so they are different sites. An editor block's iframe shows white, then an empty workbench ("No Folder Opened", or the file tab open with no content).
What we know:
Creating a socket … successfulfor both Management and ExtensionHost, and the illogical extension joins (editor joinedin the daemon log). But reads likevscode-remote://…/.vscode/settings.jsonand the workspace file never complete (still pending after 20 s; Canceled on unload).checkrefuses cross-site requests that aren't navigations, and does not log refusals.Done when: a Playwright spec with the app and the block site on different sites (e.g. app on 127.0.0.1 and blocks on *.localhost, or two hostnames) shows the editor block's file at its line inside the page; the root cause is fixed; and refusals in sites.rs are logged at debug.
Confirmed fixed by Jake on control's page with 0.6.2. Two causes:
0.6.1 also added the storage stand-in for browsers that block third-party cookies, and frame-ancestors 'self' for VS Code's own frames.