Cannot communicate between IE mode compatible website and popup opened using

Bhanu Singh 1 Reputation point

Hi Team,

Application 1 is running in IE compatible mode in Edge.When we open application 2 using , 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.

Microsoft Edge
Microsoft Edge
A Microsoft cross-platform web browser that provides privacy, learning, and accessibility tools.
2,160 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XuDong Peng-MSFT 10,181 Reputation points Microsoft Vendor

    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.