Closed Bug 1515062 Opened 7 years ago Closed 4 years ago

Deleting buttons without type="button" in form cause submit() not to work

Categories

(Core :: DOM: Forms, defect, P3)

64 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 586329
Tracking Status
firefox64 --- affected
firefox65 --- affected
firefox66 --- affected

People

(Reporter: brucekwells, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0 Steps to reproduce: Wrote a script that reproduces the problem. PHP is just used to display posted data to confirm submit() worked. Can be anything that does that. On Release 64.0 (64 bit) Actual results: Form does not submit after you delete a div inside a form from a button without the type="button" attribute. Works in Chrome and Edge just fine. Expected results: Form should submit after removing div section in form.
Hi, first of all I just wanna say thanks for the Steps, and the detailed Test Case you provided, this rarely happens, I was able to reproduce this issue in Firefox 64.0, 65.0b6 as well as nightly 66.0a1 (2018-12-23). I'm not sure if Core - Event Handling is the correct component for this issue or maybe the Javascript Engine but please feel free to change the component for it to a more suitable one.
Status: UNCONFIRMED → NEW
Component: Untriaged → Event Handling
Ever confirmed: true
Product: Firefox → Core
Component: Event Handling → DOM: Core & HTML
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 4 years ago
Component: DOM: Core & HTML → DOM: Forms
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: