Form post to window created with targets current window instead

Confirmed Issue #8781723 • Assigned to Travis L.


Sep 7, 2016
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

  1. Create a new window with"", "popup", “width=200;height=200”);

  1. 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); = "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:


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Brad E.”

    Changed Assigned To to “Travis L.”

    Changed Status to “Confirmed”

  • This bug also reproduced in Internet Explorer 11 for me. It doesnt matter of windows version and I saw this bug in windows 7 as well as windows 10.

  • One more bug here, in this form. After I add new comment and some files was attached by me, after I press the combination ctrl+r the last file I add has been duplciated. So for now this issue has 7 same files named chrome.png.

You need to sign in to your Microsoft account to add a comment.

Sign in