When using var parent = window.seamless.connect(); (as a globally scoped variable) to connect the child to parent, it breaks IE11 compatibility because window.parent is needed to send messages to the parent. This essentially overwrites the window.parent reference and causes the frame to fail loading without any exception. I have not seen this issue in other browsers but I imagine it would apply to all IE versions.
In my case, I was able to resolve the issue by renaming parent to top. Since all of the docs and examples use parent as the variable name, it might be good if the docs were updated to use a different name.
When using
var parent = window.seamless.connect();
(as a globally scoped variable) to connect the child to parent, it breaks IE11 compatibility becausewindow.parent
is needed to send messages to the parent. This essentially overwrites the window.parent reference and causes the frame to fail loading without any exception. I have not seen this issue in other browsers but I imagine it would apply to all IE versions.In my case, I was able to resolve the issue by renaming
parent
totop
. Since all of the docs and examples useparent
as the variable name, it might be good if the docs were updated to use a different name.