Bug 275792

Summary: [Tools] Don't rely on WTF::Vector::data() being nullptr when empty
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 275752    
Bug Blocks:    

David Kilzer (:ddkilzer)
Reported 2024-06-23 10:29:27 PDT
Don't rely on WTF::Vector::data() being nullptr when empty. Alex Christensen noticed this after the fix for: REGRESSION (279702@main): [ iOS ] fast/shadow-dom/touch-event-ios.html is constantly crashing. <https://bugs.webkit.org/show_bug.cgi?id=275752> <rdar://130217217> <https://commits.webkit.org/280269@main>
Attachments
Radar WebKit Bug Importer
Comment 1 2024-06-23 10:29:47 PDT
David Kilzer (:ddkilzer)
Comment 2 2024-06-23 10:37:30 PDT
Note You need to log in before you can comment on or make changes to this bug.