eclipse-theia/theia

improve CORS handling by mini-browser

开放

#3,589 创建于 2018年11月22日

 (4 条评论) (0 个反应) (0 位负责人)TypeScript (2,478 个派生)batch import
enhancementhelp wantedmini-browser

仓库指标

星标
 (18,676 个星标)
PR 合并指标
 (平均合并 15天 4小时) (30 天内合并 75 个 PR)

描述

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.

贡献者指南