Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Extensions using iframes or directly referencing localhost server content in webviews do not work in the browser-based editor #11
While the VS Code extension guide covers changes to webview scenarios like the use of
Steps to reproduce:
Expected: Webview appears with "Hello remote world!" in an iframe
Interestingly if you run WebView Example: Browser Demo, let the login succeed, and then run the Webvew Demo command again, it works. So it's clearly related to the login specifically.
This also seems to be preventing XHR or other requests from working from webview content from working as well.