Bug 273858

Summary: MIMETypeRegistry::isPostScriptMIMEType() is no longer a relevant question
Product: WebKit Reporter: Abrar Rahman Protyasha <a_protyasha>
Component: WebCore Misc.Assignee: Abrar Rahman Protyasha <a_protyasha>
Status: RESOLVED FIXED    
Severity: Normal CC: a_protyasha, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Abrar Rahman Protyasha
Reported 2024-05-07 18:07:10 PDT
After 278471@main, the only isPostScriptMIMEType() caller is in CachedImage::updateBufferInternal(), which would use the check to convert PostScript data to PDF data through PDFDocumentImage. However, PDFDocumentImage::create() no longer has this translation capability, and thus we no longer need to check for the presence of a PostScript resource.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-07 18:07:19 PDT
Abrar Rahman Protyasha
Comment 2 2024-05-07 18:13:40 PDT
EWS
Comment 3 2024-05-08 13:00:42 PDT
Committed 278520@main (8694a007981e): <https://commits.webkit.org/278520@main> Reviewed commits have been landed. Closing PR #28268 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.