You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web: extensions on playground no longer work on Safari #108285
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysafariIssues running VSCode in Web on SafariverifiedVerification succeededwebIssues related to running VSCode in the web
There is nothing I could do to get this working in Safari. Basically, I could not get an <iframe> with a null origin to start up a web worker. Here are the combinations I tried on Safari:
The only way I could get a WebWorker running in an <iframe> is if the <iframe> is sharing the origin with the outer page. This beats the purpose of having an <iframe> to begin with, so I will do the following:
disable <iframe> wrapping on Safari for now
look into hosting an <iframe> src on a different domain, similar to webviews.
Alexandru Dima (@alexdima) Sure! Let's set up a meeting to talk about the problem and what we do today for webviews. After our Monday team meeting would work for me
bugIssue identified by VS Code Team member as probable bugimportantIssue identified as high-prioritysafariIssues running VSCode in Web on SafariverifiedVerification succeededwebIssues related to running VSCode in the web
Activity
alexdima commentedon Oct 9, 2020
There is nothing I could do to get this working in Safari. Basically, I could not get an
<iframe>with anullorigin to start up a web worker. Here are the combinations I tried on Safari:<iframe>sandbox<iframe>srcWebWorkersrcorigininside<iframe>allow-scriptsdata:data:nullallow-scriptsdata:blob:nullallow-scriptsblob:data:nullallow-scriptsblob:blob:nullallow-scripts allow-same-origindata:data:nullallow-scripts allow-same-origindata:blob:nullallow-scripts allow-same-originblob:data:nullallow-scripts allow-same-originblob:blob:http://localhost:8080The only way I could get a
WebWorkerrunning in an<iframe>is if the<iframe>is sharing the origin with the outer page. This beats the purpose of having an<iframe>to begin with, so I will do the following:<iframe>wrapping on Safari for now<iframe>src on a different domain, similar to webviews.Disable `<iframe>` wrapping on Safari for now (#108285)
alexdima commentedon Oct 9, 2020
fyi Matt Bierner (@mjbvz) I will need some help from you to host the
<iframe>src on a different domain, similar to webviews.fyi Eric Amodio (@eamodio) Jackson Kearl (@JacksonKearl)
[-]Web: playground no longer opens on Safari[/-][+]Web: extensions on playground no longer work on Safari[/+]mjbvz commentedon Oct 16, 2020
Alexandru Dima (@alexdima) Sure! Let's set up a meeting to talk about the problem and what we do today for webviews. After our Monday team meeting would work for me
rebornix commentedon Oct 16, 2020
As mentioned in today's sit-down, we might also see issues with https://bugs.webkit.org/show_bug.cgi?id=22723 .
Don't use `data:` as the src of the web worker extension host iframe (#…
alexdima commentedon Oct 22, 2020
We now have
<iframe>wrapping also on Safari thanks to using a different origin.