eclipse-theia/theia

Theia is not working in Safari browser when is within an iframe

Open

#7,668 opened on Apr 26, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (2,478 forks)batch import
browser/safarihelp wantedmonaco

Repository metrics

Stars
 (18,676 stars)
PR merge metrics
 (Avg merge 15d 4h) (75 merged PRs in 30d)

Description

Theia is not working in Safari when is within an iframe. The problem is in monaco-indexed-db line 23 which is not allowed by Safari.

Steps to Reproduce:

  1. Create an iframe with src="your theia url"
  2. Open the Iframe with Safari.
  3. See that Theia is stuck on loading.

Safari console: image

  • Issue is not reproducible if in your Safari preferences -> Privacy, The Website tracking is unchecked: image

@benoitf Does Eclipse Che have the same issue?

Additional Information

  • Operating System: macOS Catalina 10.15.4
  • Theia Version: latest
  • Safari Version: 13.1

Contributor guide