Bug 307918
| Summary: | Modernize ScriptRunner::ExecutionType and WebVTTNodeType to scoped enum classes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | zak ridouh <zakr> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
zak ridouh
Convert two C-style enums to enum class : uint8_t for stronger type
safety. Update values to follow WebKit naming conventions.
ScriptRunner::ExecutionType:
- ASYNC_EXECUTION → Async
- IN_ORDER_EXECUTION → InOrder
WebVTTNodeType:
- Remove WebVTTNodeType prefix from all values
- WebVTTNodeTypeNone → None, WebVTTNodeTypeClass → Class, etc.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/170401383>
zak ridouh
Pull request: https://github.com/WebKit/WebKit/pull/58734
EWS
Committed 307601@main (da05f14b47a0): <https://commits.webkit.org/307601@main>
Reviewed commits have been landed. Closing PR #58734 and removing active labels.