Menu

#1751 FormData constructor should support form parameter

2.19
closed
RBRi
None
1
2016-02-24
2016-02-24
Frank Danek
No

Currently the FormData JS object only offers a constructor with no arguments.
At least in real FF31 and IE11 the constructor supports a "form" parameter. If given the form's inputs will be added to the FormData.

See https://developer.mozilla.org/en-US/docs/Web/API/FormData/FormData

Please find a patch attached containing a test for this feature.

1 Attachments

Discussion

  • RBRi

    RBRi - 2016-02-24
    • status: open --> accepted
    • assigned_to: RBRi
     
  • RBRi

    RBRi - 2016-02-24

    Fixed in SVN, thanks for reporting ;-)

     
  • RBRi

    RBRi - 2016-02-24
    • status: accepted --> closed
     

Log in to post a comment.