question

YUNHEECHO-9541 avatar image
0 Votes"
YUNHEECHO-9541 asked XuDongPeng-MSFT answered

Communication between Edge and IE Compatible Mode

An application running in Edge opens a pop-up window in which a common application is running.
The common application is opened in IE compatible mode. (by company's policy)
When the two windows (parent/child) communicate with each other using postMessage(), it doesn't work.

Q1. Is communication between Edge and IE Mode using postMessage() impossible?
Q2. If it is impossible, is there any other way to communicate except setting two windows running in the same mode?
Q3. Regardless of browser's IE-mode setting, is there a way to open a pop-up in a specific mode (IE compatible or not) by programming ?

ms-edge
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

XuDongPeng-MSFT avatar image
0 Votes"
XuDongPeng-MSFT answered

Hi @YUNHEECHO-9541 ,

Is communication between Edge and IE Mode using postMessage() impossible?

As far as I know this is not possible, they actually run in different browsers.

If it is impossible, is there any other way to communicate except setting two windows running in the same mode?

You could try sharing cookies between Edge and IE mode, I think it might work for you. It is implemented through group policy configuration, you can refer to related documents: How cookie sharing works and Configure Edge IE mode policy.

Regardless of browser's IE-mode setting, is there a way to open a pop-up in a specific mode (IE compatible or not) by programming ?

If you need to open it as a popup, I think this should need to use javascript to achieve. But you can't specify the mode via javascript, bacause it affected by IE mode settings. You can launch Edge through automation code(such as Selenium), and set whether to run IE mode, but it opens a new browser instance, not a pop-up. To sum up, I think this requirement is impoosible.

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.