eclipse-theia/theia

improve CORS handling by mini-browser

Open

#3,589 建立於 2018年11月22日

在 GitHub 查看
 (4 留言) (0 反應) (0 負責人)TypeScript (18,676 star) (2,478 fork)batch import
enhancementhelp wantedmini-browser

描述

There are 2 cases to consider:

  • opening a URL with http from Theia deployed under https, in this case we should notify a user about CORS issues. Right now they are only logged in the dev tool console and the mini browser is spining forever.
  • opening a URL with https scheme, in this case some pages cannot be opened in iframe (see images below). The mini-browser should detect it and propose a user to open such page in a new browser tab.

貢獻者指南