Intent to ship: Event-based form participation

2019-09-06 Thread John Dai
Summary: As of Firefox 71 I intend to turn Event-based form participation on by default. It has been developed behind the dom.formdata.event.enabled preference. It allows for introspection and manipulation of what will be submitted with a form element through a new formdata event. Bug: https://bug

Re: Intent to ship: Event-based form participation

2019-09-12 Thread John Dai
On Fri, Sep 6, 2019 at 7:11 PM Daniel Veditz wrote: > On Fri, Sep 6, 2019 at 3:07 AM John Dai wrote: > >> Is this feature enabled by default in sandboxed iframes? No. >> > > But it's not specifically disabled in sandboxed frames or behind a > non-default pre

Intent to Ship: form.requestSubmit()

2020-02-14 Thread John Dai
In Firefox 75, I intend to turn form.requestSubmit() on by default. Summary: The form.requestSubmit() function which requests form submission. It includes interactive constraint validation, dispatches a 'submit' event, and takes a reference to the submitter button. The difference between form.subm

Intent to Ship: SubmitEvent interface

2020-02-14 Thread John Dai
In Firefox 75, I intend to turn SubmitEvent on by default. Summary: The 'submit' event dispatched upon form submission gains a 'submitter' property to tell which submit button triggered the submission. Bug: https://bugzilla.mozilla.org/show_b