Bug 294287
| Summary: | [webkitpy] Move default CURRENT_VERSION variable definition to DarwinPort. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ben Schwartz <ben_schwartz> |
| Component: | New Bugs | Assignee: | Ben Schwartz <ben_schwartz> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ben_schwartz, gsnedders, jbedard, webkit-bot-watchers-bugzilla, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Ben Schwartz
Currently, many of our unit tests feature hard-coded Version objects for testing the latest major OS versions. This requires changes to these unit tests each year, which is pretty inefficient. Instead, we should take the value of CURRENT_VERSION on the Port object to determine this. (We already do this in some places.)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/153002661>
Ben Schwartz
After thinking about this a bit more, now that all Apple port versions are 26, we can probably just define this in DarwinPort and override in subclasses in edge cases.
Ben Schwartz
Pull request: https://github.com/WebKit/WebKit/pull/46637
EWS
Committed 296346@main (71871b592a2f): <https://commits.webkit.org/296346@main>
Reviewed commits have been landed. Closing PR #46637 and removing active labels.