Re: [w3ctag/design-reviews] FYI - Add optional `submitter` parameter to the `FormData` constructor (Issue #812)

Thank you. Perhaps the following was understood, but I wanted to explain the rationale some more just in case:

1. Passing the dictionary as second argument doesn't have much value as all other use cases would not involve `<form>`. If that ends up being false we'll definitely reconsider though. Would be easy to support both.
2. Overloading the first argument with a dictionary could work, but creates a problem if we want to accept object-like structures there, such as IDL's `record<>`. Which as you note would be a natural next step for this API.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/812#issuecomment-1421070122
You are receiving this because you are subscribed to this thread.

Message ID: <w3ctag/design-reviews/issues/812/1421070122@github.com>

Received on Tuesday, 7 February 2023 16:35:18 UTC