If you attempt to append HTML to a popup window, jQuery evaluates the markup, and creates a documentFragment (from the context's ownerDocument) if there are multiple top-level sibling elements. jQuery will then attempt to append the documentFragment to the second window, which fails in all versions of Microsoft Edge.
Reproduction:
<div id="elements">
<span>A</span>
<span>B</span>
</div>
var win = window.open("");
$(win.document.body).append( $("#elements").html() );
Microsoft Edge throws _No such interface supported_.
Fiddle: https://jsfiddle.net/kmfc3ph3/
Works in other browsers including latest IE and specification says window.open could be used like this.
Confirmed in other words
Is there any progress on this? It appears to still be an issue in 1709 version of windows 10.
Pull requests are welcome.
Most helpful comment
Works in other browsers including latest IE and specification says
window.opencould be used like this.Confirmed in other words