Steps to reproduce
- Create a new window with window.open:
window.open("", "popup", “width=200;height=200”);
- Create a form with the window as the target:
var form = document.createElement(“form”);
(Add some input fields as parameters here)
form.method = "POST";
form.action = (some URL that can handle the form data);
form.target = "popup";
This will correctly open the window, but the form submit will happen to the current window, instead of the the newly created window (the target is ignored).
Works fine in IE11, Chrome, Firefox, Safari.
Similar previous IE11 issue: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/107108/.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Assigned To to “Travis L.”
Changed Status to “Confirmed”