Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make WebCore::FormData::EncodingType an enum class #6636

Merged
merged 1 commit into from Nov 18, 2022

Conversation

ddkilzer
Copy link
Contributor

@ddkilzer ddkilzer commented Nov 18, 2022

c965864

Make WebCore::FormData::EncodingType an enum class
https://bugs.webkit.org/show_bug.cgi?id=248086
<rdar://102515978>

Reviewed by Chris Dumez.

Convert FormData::EncodingType to an enum class so its backing
type can be changed to uint8_t.  The other changes are to fix
the namespace for the enum values.

* Source/WebCore/loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
* Source/WebCore/platform/network/FormData.h:
(WebCore::FormData::EncodingType):
* Source/WebCore/platform/network/FormDataBuilder.cpp:
(WebCore::FormDataBuilder::addKeyValuePairAsFormData):
* Source/WebCore/platform/network/FormDataBuilder.h:

Canonical link: https://commits.webkit.org/256852@main

0f1e3a7

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  πŸ§ͺ win
βœ… πŸ§ͺ bindings βœ… πŸ›  ios-sim βœ… πŸ›  mac-debug βœ… πŸ›  gtk βœ… πŸ›  wincairo
βœ… πŸ§ͺ webkitperl   πŸ§ͺ ios-wk2 βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ gtk-wk2
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-gtk
βœ… πŸ›  tv   πŸ§ͺ mac-wk1
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch   πŸ§ͺ mac-AS-debug-wk2
βœ… πŸ›  watch-sim βœ… πŸ§ͺ mac-wk2-stress

@ddkilzer ddkilzer self-assigned this Nov 18, 2022
@ddkilzer ddkilzer added Forms For bugs specific to form elements (checkboxes, buttons, text fields, etc.) Other labels Nov 18, 2022
Copy link
Contributor

@cdumez cdumez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if EWS is happy.

@ddkilzer
Copy link
Contributor Author

The bar for this PR was that all ports compiled (as there is no change in functionality), so marking for merge queue.

@ddkilzer ddkilzer added the merge-queue Applied to send a pull request to merge-queue label Nov 18, 2022
https://bugs.webkit.org/show_bug.cgi?id=248086
<rdar://102515978>

Reviewed by Chris Dumez.

Convert FormData::EncodingType to an enum class so its backing
type can be changed to uint8_t.  The other changes are to fix
the namespace for the enum values.

* Source/WebCore/loader/FormSubmission.cpp:
(WebCore::FormSubmission::create):
* Source/WebCore/platform/network/FormData.h:
(WebCore::FormData::EncodingType):
* Source/WebCore/platform/network/FormDataBuilder.cpp:
(WebCore::FormDataBuilder::addKeyValuePairAsFormData):
* Source/WebCore/platform/network/FormDataBuilder.h:

Canonical link: https://commits.webkit.org/256852@main
@webkit-commit-queue
Copy link
Collaborator

Committed 256852@main (c965864): https://commits.webkit.org/256852@main

Reviewed commits have been landed. Closing PR #6636 and removing active labels.

@webkit-early-warning-system webkit-early-warning-system merged commit c965864 into WebKit:main Nov 18, 2022
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Nov 18, 2022
@ddkilzer ddkilzer deleted the eng/248086 branch November 18, 2022 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Forms For bugs specific to form elements (checkboxes, buttons, text fields, etc.)
Projects
None yet
4 participants