Bug 254555

Summary: Promised file data should contain UTType identifier instead of file extension
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Abrar Rahman Protyasha 2023-03-27 16:24:05 PDT
Currently, when dragging an image in Safari, we notice that the file promise provider specifies the file type as _just_ the extension string (e.g. "png"), when it should be the Universal Type Identifier (UTI) instead (e.g. "public.png"). This needs to be corrected.
Comment 1 Abrar Rahman Protyasha 2023-03-27 16:24:30 PDT
rdar://104449116
Comment 2 Abrar Rahman Protyasha 2023-03-28 00:46:38 PDT
Pull request: https://github.com/WebKit/WebKit/pull/12043
Comment 3 EWS 2023-03-29 10:35:59 PDT
Committed 262280@main (2db314d62ff0): <https://commits.webkit.org/262280@main>

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