Bug 254555 - Promised file data should contain UTType identifier instead of file extension
Summary: Promised file data should contain UTType identifier instead of file extension
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-27 16:24 PDT by Abrar Rahman Protyasha
Modified: 2023-03-29 10:36 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.