Bug 242457 - The `CSSPropertyNames.cpp` file is code-generated with non-deterministic contents
Summary: The `CSSPropertyNames.cpp` file is code-generated with non-deterministic cont...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-07 10:22 PDT by Argyrios Kyrtzidis
Modified: 2022-07-08 15:02 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Argyrios Kyrtzidis 2022-07-07 10:22:41 PDT
Every time `Source/WebCore/css/makeprop.pl` runs it generates different contents for `CSSPropertyNames.gprof` (and subsequently for `CSSPropertyNames.cpp`).
The switch-case statements for the properties are written out in a non-deterministic order.
Comment 1 Sam Sneddon [:gsnedders] 2022-07-07 12:09:04 PDT
rdar://96607159
Comment 2 Argyrios Kyrtzidis 2022-07-07 12:17:27 PDT
I have a fix at https://github.com/WebKit/WebKit/pull/2179
Comment 3 Argyrios Kyrtzidis 2022-07-08 13:55:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2196
Comment 4 EWS 2022-07-08 15:02:17 PDT
Committed 252297@main (e4ff5dfc94ce): <https://commits.webkit.org/252297@main>

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