Closed
Bug 1778269
Opened 2 years ago
Closed 2 years ago
Preview support for FormData objects
Categories
(DevTools :: Object Inspector, enhancement)
DevTools
Object Inspector
Tracking
(firefox106 fixed)
RESOLVED
FIXED
106 Branch
Tracking | Status | |
---|---|---|
firefox106 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: colin.cazabet, Mentored)
References
Details
Attachments
(1 file)
In the same vein of what we'll do for URLSearchParams
in Bug 1777587, it will be nice to be able to inspect FormData
object too
Assignee | ||
Comment 1•2 years ago
|
||
Hello Nicolas, I can do this one, it's pretty similar to the one I've done before
Reporter | ||
Comment 2•2 years ago
•
|
||
Thanks a lot Colin, I'm assigning the bug to you.
Unlike Headers
, in this one we want to have the indexes, like in URLSearchParams
, as we get multiple entries when appending the same key:
x = new FormData();
x.append("a", 1)
x.append("a", 2);
console.log(...x.entries()) // [ "a", "1" ], [ "a", "2" ];
x;
so in such case we should have
▼ FormData { a → "1", a → "2" }
| ▼ <entries>
| | 0: a → "1"
| | 1: a → "2"
Assignee: nobody → colin.cazabet
Mentor: nchevobbe
Assignee | ||
Comment 3•2 years ago
|
||
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a57903f4543d [devtools] Preview support for FormData objects r=nchevobbe
Comment 5•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox106:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•