Closed Bug 1629248 Opened 6 years ago Closed 6 years ago

form post method with target="_blank" property sends get request in firefox75.0

Categories

(Core :: DOM: Core & HTML, defect)

75 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1629441

People

(Reporter: yeweichuang, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0

Steps to reproduce:

1.code:
<form action="http://www.xxxx.com" method="post" target="_blank">
<input type="text" name="name" value="hello">
<input type="submit" name="submit" value="Submit">
</form>
2.submit

Actual results:

it sends get request.
if delete target="_blank" or change _blank to other value(_self,etc),it works find.

Expected results:

send post request

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core

Thank you for your bug report.
Is this form in an HTML file that is accessed via file:// ? If yes then this is the same problem as bug 1629441.

Marking as dupe for now.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.