Bug 245284

Summary: [WTF] Implement convenience functions for CFArray <-> Vector conversions
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Web Template FrameworkAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, 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=245088
Bug Depends on: 210138    
Bug Blocks:    

Description David Kilzer (:ddkilzer) 2022-09-16 10:27:25 PDT
Implement convenience functions for CFArray <-> Vector conversions and put them to use.

I did not have a goal to try to find every place these could be used (that can be done in follow-ups), but rather to find at least one place they could be used, and to write tests for them.

I used Darin's Source/WTF/wtf/cocoa/VectorCocoa.h as a basis.
Comment 1 Radar WebKit Bug Importer 2022-09-16 10:29:41 PDT
<rdar://problem/100032945>
Comment 2 David Kilzer (:ddkilzer) 2022-09-16 11:02:31 PDT
Pull request: https://github.com/WebKit/WebKit/pull/4423
Comment 3 EWS 2022-09-20 01:23:05 PDT
Committed 254665@main (2f9450c601c6): <https://commits.webkit.org/254665@main>

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