microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.16k stars 28.53k forks source link

Simple Browser is not working inside vscode.dev #221715

Open aleleba opened 1 month ago

aleleba commented 1 month ago

I would like to show in simple browser my dev tunnel url of the service I am developing, but simple browser is not working on vscode.dev

mjbvz commented 1 month ago

Try adding a Cross-Origin-Resource-Policy header to your service. We enabled this feature on vscode.dev so all embedding content must also have this header

aleleba commented 1 month ago

Already tested like that and not working.

Captura de pantalla 2024-07-15 a la(s) 12 38 53 p  m
mjbvz commented 1 month ago

Check the network tab in the browser dev tools too. It will explain why the content isn't being loaded

aleleba commented 1 month ago

Sure, it saids that not-set Cross-Origin-Embedder-Policy: but I am setting it in my service it seems to be an issue in dev-tunnel link and vscode, I think it should be a standard, have the obligatory header and send from the tunnel this header or omit this header, one of those.

Captura de pantalla 2024-07-15 a la(s) 12 53 01 p  m