添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Hi Team,

Application 1 is running in IE compatible mode in Edge.When we open application 2 using window.open , pop-up window is opened in edge.When we try to send back data using window.opener.postMessage, window.opener is coming as undefined.It happens only in Microsoft Edge in windows and working fine in other browsers. Can you please let me know how can we fix this issue.

Hi @Bhanu Singh ,

According to your description, the main cause of the problem is that these two applications are running in different browsers(IE and Edge), because page in Edge IE mode actually runs the Internet Explorer tab. So you can't get the handle to the opened page correctly.

If you need these two applications to communicate properly, then you need to make the opened page also run in the same browser, add it to the IE mode site list, this should solve the problem. For more about IE mode configuration, please refer to this doc: Configure IE mode policies .

Best regards,
Xudong Peng

If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Hi @XuDong Peng-MSFT

I have same question here in my application I did run the both window in same IE compatibility mode but window.opener check and window.post message not working in IE but working fine for all other browsers.

Could you please help me on this?