Bug 242457

Summary: The `CSSPropertyNames.cpp` file is code-generated with non-deterministic contents
Product: WebKit Reporter: Argyrios Kyrtzidis <akyrtzi>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, gsnedders, Hironori.Fujii, koivisto, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=237521

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.