Skip to content

Modify SubmitEvent polyfill to read type property#49

Merged
javan merged 1 commit into
mainfrom
submit-polyfill
Dec 28, 2020
Merged

Modify SubmitEvent polyfill to read type property#49
javan merged 1 commit into
mainfrom
submit-polyfill

Conversation

@seanpdoyle

@seanpdoyle seanpdoyle commented Dec 28, 2020

Copy link
Copy Markdown
Contributor

Follow-up to #1 (comment)

Replaces the SubmitEvent polyfill's type attribute access with
`type property access.

Follow-up to #1 (comment)

Replaces the `SubmitEvent` polyfill's `type` attribute access with
[`type property access][].

[type]: https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement#Properties
@seanpdoyle

seanpdoyle commented Dec 28, 2020

Copy link
Copy Markdown
Contributor Author

The original code for the polyfill was written before we had a functional test suite covering Form Submissions.

Now that we have a suite to cover this behavior, would it be possible to run it in CI against multiple browsers via a tool like Browser Stack? That way, we can have some confidence in the behavior applying correctly in polyfilled browser environments.

@javan javan merged commit c52d87c into main Dec 28, 2020
@javan javan deleted the submit-polyfill branch December 28, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants